Class VkPipelineViewportShadingRateImageStateCreateInfoNV

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

    public class VkPipelineViewportShadingRateImageStateCreateInfoNV
    extends Struct
    implements NativeResource
    Structure specifying parameters controlling shading rate image usage.
    Description

    If this structure is not present, shadingRateImageEnable is considered to be FALSE, and the shading rate image and palettes are not used.

    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkShadingRatePaletteNV

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • shadingRateImageEnable – specifies whether shading rate image and palettes are used during rasterization.
    • viewportCount – specifies the number of per-viewport palettes used to translate values stored in shading rate images.
    • pShadingRatePalettes – a pointer to an array of VkShadingRatePaletteNV structures defining the palette for each viewport. If the shading rate palette state is dynamic, this member is ignored.

    Layout

    
     struct VkPipelineViewportShadingRateImageStateCreateInfoNV {
         VkStructureType sType;
         void const * pNext;
         VkBool32 shadingRateImageEnable;
         uint32_t viewportCount;
         VkShadingRatePaletteNV const * pShadingRatePalettes;
     }