namespace Brutal.VulkanApi { /// /// VkIndirectCommandsLayoutTokenNV - Struct specifying the details of an indirect command layout token /// /// /// /// The VkIndirectCommandsLayoutTokenNV structure specifies details to the /// function arguments that need to be known at layout creation time: /// /// /// // Provided by VK_NV_device_generated_commands /// typedef struct VkIndirectCommandsLayoutTokenNV { /// VkStructureType sType; /// const void* pNext; /// VkIndirectCommandsTokenTypeNV tokenType; /// uint32_t stream; /// uint32_t offset; /// uint32_t vertexBindingUnit; /// VkBool32 vertexDynamicStride; /// VkPipelineLayout pushconstantPipelineLayout; /// VkShaderStageFlags pushconstantShaderStageFlags; /// uint32_t pushconstantOffset; /// uint32_t pushconstantSize; /// VkIndirectStateFlagsNV indirectStateFlags; /// uint32_t indexTypeCount; /// const VkIndexType* pIndexTypes; /// const uint32_t* pIndexTypeValues; /// } VkIndirectCommandsLayoutTokenNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 88)] public unsafe partial struct VkIndirectCommandsLayoutTokenNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.IndirectCommandsLayoutTokenNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// TokenType is a VkIndirectCommandsTokenTypeNV specifying the token command type. /// [FieldOffset(16)] public VkIndirectCommandsTokenTypeNV TokenType; /// /// Stream is the index of the input stream containing the token argument data. /// [FieldOffset(20)] public int Stream; /// /// Offset is a relative starting offset within the input stream memory for the token argument data. /// [FieldOffset(24)] public int Offset; /// /// VertexBindingUnit is used for the vertex buffer binding command. /// [FieldOffset(28)] public int VertexBindingUnit; /// /// VertexDynamicStride sets if the vertex buffer stride is provided by the binding command rather than the current bound graphics pipeline state. /// [FieldOffset(32)] public Brutal.Bool32 VertexDynamicStride; /// /// PushconstantPipelineLayout is the VkPipelineLayout used for the push constant command. /// [FieldOffset(40)] public VkPipelineLayout PushconstantPipelineLayout; /// /// PushconstantShaderStageFlags are the shader stage flags used for the push constant command. /// [FieldOffset(48)] public VkShaderStageFlags PushconstantShaderStageFlags; /// /// PushconstantOffset is the offset used for the push constant command. /// [FieldOffset(52)] public int PushconstantOffset; /// /// PushconstantSize is the size used for the push constant command. /// [FieldOffset(56)] public int PushconstantSize; /// /// IndirectStateFlags is a VkIndirectStateFlagsNV bitfield indicating the active states for the state flag command. /// [FieldOffset(60)] public VkIndirectStateFlagsNV IndirectStateFlags; /// /// IndexTypeCount is the optional size of the pIndexTypes and pIndexTypeValues array pairings. If not zero, it allows to register a custom `uint32_t` value to be treated as specific VkIndexType. /// [FieldOffset(64)] public int IndexTypeCount; /// /// IndexTypes is the used VkIndexType for the corresponding `uint32_t` value entry in pIndexTypeValues. /// [FieldOffset(72)] public VkIndexType* IndexTypes; /// /// IndexTypeValues /// [FieldOffset(80)] public int* IndexTypeValues; } }