namespace Brutal.VulkanApi { /// /// VkCoarseSampleLocationNV - Structure specifying parameters controlling shading rate image usage /// /// /// /// The VkCoarseSampleLocationNV structure identifies a specific pixel and /// sample index^ for one of the /// coverage samples in a fragment that is larger than one pixel. /// This structure is defined as: /// /// /// // Provided by VK_NV_shading_rate_image /// typedef struct VkCoarseSampleLocationNV { /// uint32_t pixelX; /// uint32_t pixelY; /// uint32_t sample; /// } VkCoarseSampleLocationNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 12)] public partial struct VkCoarseSampleLocationNV() { /// /// PixelX is added to the x coordinate of the upper-leftmost pixel of each fragment to identify the pixel containing the coverage sample. /// [FieldOffset(0)] public int PixelX; /// /// PixelY is added to the y coordinate of the upper-leftmost pixel of each fragment to identify the pixel containing the coverage sample. /// [FieldOffset(4)] public int PixelY; /// /// Sample is the number of the coverage sample in the pixel identified by pixelX and pixelY. /// [FieldOffset(8)] public int Sample; } }