namespace Brutal.VulkanApi
{
///
/// VkCoarseSampleOrderCustomNV - Structure specifying parameters controlling shading rate image usage
///
///
///
/// 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;
///
///
[StructLayout(LayoutKind.Explicit, Size = 24)]
public unsafe partial struct VkCoarseSampleOrderCustomNV()
{
///
/// ShadingRate is 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.
///
[FieldOffset(0)]
public VkShadingRatePaletteEntryNV ShadingRate;
///
/// SampleCount identifies the per-pixel coverage sample count for the combination of fragment area and coverage sample count to control.
///
[FieldOffset(4)]
public int SampleCount;
///
/// SampleLocationCount specifies the number of sample locations in the custom ordering.
///
[FieldOffset(8)]
public int SampleLocationCount;
///
/// SampleLocations is a pointer to an array of VkCoarseSampleLocationNV structures specifying the location of each sample in the custom ordering.
///
[FieldOffset(16)]
public VkCoarseSampleLocationNV* SampleLocations;
}
}