Class VkShadingRatePaletteNV

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkShadingRatePaletteNV
    extends Struct
    implements NativeResource
    Structure specifying a single shading rate palette.
    Valid Usage
    Valid Usage (Implicit)
    • pShadingRatePaletteEntries must be a valid pointer to an array of shadingRatePaletteEntryCount valid VkShadingRatePaletteEntryNV values
    • shadingRatePaletteEntryCount must be greater than 0
    See Also

    VkPipelineViewportShadingRateImageStateCreateInfoNV, CmdSetViewportShadingRatePaletteNV

    Member documentation

    • shadingRatePaletteEntryCount – specifies the number of entries in the shading rate image palette.
    • pShadingRatePaletteEntries – a pointer to an array of VkShadingRatePaletteEntryNV enums defining the shading rate for each palette entry.


     struct VkShadingRatePaletteNV {
         uint32_t shadingRatePaletteEntryCount;
         VkShadingRatePaletteEntryNV const * pShadingRatePaletteEntries;