namespace Brutal.VulkanApi { /// /// VkIndirectCommandsLayoutCreateInfoNV - Structure specifying the parameters of a newly created indirect commands layout object /// /// /// /// The VkIndirectCommandsLayoutCreateInfoNV structure is defined as: /// /// /// // Provided by VK_NV_device_generated_commands /// typedef struct VkIndirectCommandsLayoutCreateInfoNV { /// VkStructureType sType; /// const void* pNext; /// VkIndirectCommandsLayoutUsageFlagsNV flags; /// VkPipelineBindPoint pipelineBindPoint; /// uint32_t tokenCount; /// const VkIndirectCommandsLayoutTokenNV* pTokens; /// uint32_t streamCount; /// const uint32_t* pStreamStrides; /// } VkIndirectCommandsLayoutCreateInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkIndirectCommandsLayoutCreateInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.IndirectCommandsLayoutCreateInfoNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkIndirectCommandsLayoutUsageFlagsNV specifying usage hints of this layout. /// [FieldOffset(16)] public VkIndirectCommandsLayoutUsageFlagsNV Flags; /// /// PipelineBindPoint is the VkPipelineBindPoint that this layout targets. /// [FieldOffset(20)] public VkPipelineBindPoint PipelineBindPoint; /// /// TokenCount is the length of the individual command sequence. /// [FieldOffset(24)] public int TokenCount; /// /// Tokens is an array describing each command token in detail. See VkIndirectCommandsTokenTypeNV and VkIndirectCommandsLayoutTokenNV below for details. /// [FieldOffset(32)] public VkIndirectCommandsLayoutTokenNV* Tokens; /// /// StreamCount is the number of streams used to provide the token inputs. /// [FieldOffset(40)] public int StreamCount; /// /// StreamStrides is an array defining the byte stride for each input stream. /// [FieldOffset(48)] public int* StreamStrides; } }