Class VkPhysicalDeviceShadingRateImagePropertiesNV

  • All Implemented Interfaces:
    Pointer

    public class VkPhysicalDeviceShadingRateImagePropertiesNV
    extends Struct
    Structure describing shading rate image limits that can be supported by an implementation.
    Valid Usage (Implicit)

    If the VkPhysicalDeviceShadingRateImagePropertiesNV structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.

    See Also

    VkExtent2D

    Member documentation

    • shadingRateTexelSize – indicates the width and height of the portion of the framebuffer corresponding to each texel in the shading rate image.
    • shadingRatePaletteSize – indicates the maximum number of palette entries supported for the shading rate image.
    • shadingRateMaxCoarseSamples – specifies the maximum number of coverage samples supported in a single fragment. If the product of the fragment size derived from the base shading rate and the number of coverage samples per pixel exceeds this limit, the final shading rate will be adjusted so that its product does not exceed the limit.

    Layout

    
     struct VkPhysicalDeviceShadingRateImagePropertiesNV {
         VkStructureType sType;
         void * pNext;
         VkExtent2D shadingRateTexelSize;
         uint32_t shadingRatePaletteSize;
         uint32_t shadingRateMaxCoarseSamples;
     }