namespace Brutal.VulkanApi
{
///
/// VkPipelineInputAssemblyStateCreateInfo - Structure specifying parameters of a newly created pipeline input assembly state
///
///
///
/// Each draw is made up of zero or more vertices and zero or more instances,
/// which are processed by the device and result in the assembly of primitives.
/// Primitives are assembled according to the pInputAssemblyState member
/// of the VkGraphicsPipelineCreateInfo structure, which is of type
/// VkPipelineInputAssemblyStateCreateInfo:
///
///
/// // Provided by VK_VERSION_1_0
/// typedef struct VkPipelineInputAssemblyStateCreateInfo {
/// VkStructureType sType;
/// const void* pNext;
/// VkPipelineInputAssemblyStateCreateFlags flags;
/// VkPrimitiveTopology topology;
/// VkBool32 primitiveRestartEnable;
/// } VkPipelineInputAssemblyStateCreateInfo;
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
public unsafe partial struct VkPipelineInputAssemblyStateCreateInfo()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.PipelineInputAssemblyStateCreateInfo;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// Flags is reserved for future use.
///
[FieldOffset(16)]
public VkPipelineInputAssemblyStateCreateFlags Flags;
///
/// Topology is a VkPrimitiveTopology defining the primitive topology, as described below.
///
[FieldOffset(20)]
public VkPrimitiveTopology Topology;
///
/// PrimitiveRestartEnable controls whether a special vertex index value is treated as restarting the assembly of primitives. This enable only applies to indexed draws (vkCmdDrawIndexed, and vkCmdDrawIndexedIndirect), and the special index value is either 0xFFFFFFFF when the indexType parameter of vkCmdBindIndexBuffer is equal to VK_INDEX_TYPE_UINT32; or 0xFFFF when indexType is equal to VK_INDEX_TYPE_UINT16. Primitive restart is not allowed for "`list`" topologies.
///
[FieldOffset(24)]
public Brutal.Bool32 PrimitiveRestartEnable;
}
}