Class VkCoarseSampleLocationNV

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

    public class VkCoarseSampleLocationNV
    extends Struct
    implements NativeResource
    Structure specifying parameters controlling shading rate image usage.
    Valid Usage
    • pixelX must be less than the width (in pixels) of the fragment.
    • pixelY must be less than the height (in pixels) of the fragment.
    • sample must be less than the number of coverage samples in each pixel belonging to the fragment.
    See Also

    VkCoarseSampleOrderCustomNV

    Member documentation

    • pixelX – added to the x coordinate of the upper-leftmost pixel of each fragment to identify the pixel containing the coverage sample.
    • pixelY – added to the y coordinate of the upper-leftmost pixel of each fragment to identify the pixel containing the coverage sample.
    • sample – the number of the coverage sample in the pixel identified by pixelX and pixelY.

    Layout

    
     struct VkCoarseSampleLocationNV {
         uint32_t pixelX;
         uint32_t pixelY;
         uint32_t sample;
     }