C Specification
The VkCoarseSampleOrderCustomNV structure is defined as:
// Provided by VK_NV_shading_rate_image
typedef struct VkCoarseSampleOrderCustomNV {
    VkShadingRatePaletteEntryNV        shadingRate;
    uint32_t                           sampleCount;
    uint32_t                           sampleLocationCount;
    const VkCoarseSampleLocationNV*    pSampleLocations;
} VkCoarseSampleOrderCustomNV;Members
- 
shadingRateis a shading rate palette entry that identifies the fragment width and height for the combination of fragment area and per-pixel coverage sample count to control.
- 
sampleCountidentifies the per-pixel coverage sample count for the combination of fragment area and coverage sample count to control.
- 
sampleLocationCountspecifies the number of sample locations in the custom ordering.
- 
pSampleLocationsis a pointer to an array of VkCoarseSampleLocationNV structures specifying the location of each sample in the custom ordering.
Description
The VkCoarseSampleOrderCustomNV structure is used with a coverage
sample ordering type of VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV to
specify the order of coverage samples for one combination of fragment width,
fragment height, and coverage sample count.
When using a custom sample ordering, element j in pSampleLocations
specifies a specific pixel location and
sample index that corresponds to
coverage index j in the
multi-pixel fragment.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.