namespace Brutal.VulkanApi
{
///
/// VkPipelineSampleLocationsStateCreateInfoEXT - Structure specifying sample locations for a pipeline
///
///
///
/// Applications can also control the sample locations used for rasterization.
///
///
/// If the pNext chain of the VkPipelineMultisampleStateCreateInfo
/// structure specified at pipeline creation time includes a
/// VkPipelineSampleLocationsStateCreateInfoEXT structure, then that
/// structure controls the sample locations used when rasterizing primitives
/// with the pipeline.
///
///
/// The VkPipelineSampleLocationsStateCreateInfoEXT structure is defined
/// as:
///
///
/// // Provided by VK_EXT_sample_locations
/// typedef struct VkPipelineSampleLocationsStateCreateInfoEXT {
/// VkStructureType sType;
/// const void* pNext;
/// VkBool32 sampleLocationsEnable;
/// VkSampleLocationsInfoEXT sampleLocationsInfo;
/// } VkPipelineSampleLocationsStateCreateInfoEXT;
///
///
[StructLayout(LayoutKind.Explicit, Size = 64)]
public unsafe partial struct VkPipelineSampleLocationsStateCreateInfoEXT()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.PipelineSampleLocationsStateCreateInfoEXT;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// SampleLocationsEnable controls whether custom sample locations are used. If sampleLocationsEnable is VK_FALSE, the default sample locations are used and the values specified in sampleLocationsInfo are ignored.
///
[FieldOffset(16)]
public Brutal.Bool32 SampleLocationsEnable;
///
/// SampleLocationsInfo is the sample locations to use during rasterization if sampleLocationsEnable is VK_TRUE and the graphics pipeline is not created with VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT.
///
[FieldOffset(24)]
public VkSampleLocationsInfoEXT SampleLocationsInfo;
}
}