namespace Brutal.VulkanApi { /// /// VkIndirectCommandsLayoutCreateInfoEXT - Structure specifying the parameters of a newly created indirect commands layout object /// /// /// /// The VkIndirectCommandsLayoutCreateInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_device_generated_commands /// typedef struct VkIndirectCommandsLayoutCreateInfoEXT { /// VkStructureType sType; /// const void* pNext; /// VkIndirectCommandsLayoutUsageFlagsEXT flags; /// VkShaderStageFlags shaderStages; /// uint32_t indirectStride; /// VkPipelineLayout pipelineLayout; /// uint32_t tokenCount; /// const VkIndirectCommandsLayoutTokenEXT* pTokens; /// } VkIndirectCommandsLayoutCreateInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkIndirectCommandsLayoutCreateInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.IndirectCommandsLayoutCreateInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkIndirectCommandsLayoutUsageFlagsEXT specifying usage rules for this layout. /// [FieldOffset(16)] public VkIndirectCommandsLayoutUsageFlagsEXT Flags; /// /// ShaderStages is the VkShaderStageFlags that this layout supports. /// [FieldOffset(20)] public VkShaderStageFlags ShaderStages; /// /// IndirectStride is the distance in bytes between sequences in the indirect buffer /// [FieldOffset(24)] public int IndirectStride; /// /// PipelineLayout is the optional VkPipelineLayout that tokens in this layout use. If the dynamicGeneratedPipelineLayout^ feature is enabled, pipelineLayout can be VK_NULL_HANDLE and the layout must be specified by chaining the VkPipelineLayoutCreateInfo structure off the pNext. /// [FieldOffset(32)] public VkPipelineLayout PipelineLayout; /// /// TokenCount is the length of the individual command sequence. /// [FieldOffset(40)] public int TokenCount; /// /// Tokens is a pointer to an array of VkIndirectCommandsLayoutTokenEXT describing each command token in detail. /// [FieldOffset(48)] public VkIndirectCommandsLayoutTokenEXT* Tokens; } }