namespace Brutal.VulkanApi { /// /// VkDrawIndexedIndirectCommand - Structure specifying an indexed indirect drawing command /// /// /// /// :refpage: VkDrawIndexedIndirectCommand /// /// /// The VkDrawIndexedIndirectCommand structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkDrawIndexedIndirectCommand { /// uint32_t indexCount; /// uint32_t instanceCount; /// uint32_t firstIndex; /// int32_t vertexOffset; /// uint32_t firstInstance; /// } VkDrawIndexedIndirectCommand; /// /// [StructLayout(LayoutKind.Explicit, Size = 20)] public partial struct VkDrawIndexedIndirectCommand() { /// /// IndexCount is the number of vertices to draw. /// [FieldOffset(0)] public int IndexCount; /// /// InstanceCount is the number of instances to draw. /// [FieldOffset(4)] public int InstanceCount; /// /// FirstIndex is the base index within the index buffer. /// [FieldOffset(8)] public int FirstIndex; /// /// VertexOffset is the value added to the vertex index before indexing into the vertex buffer. /// [FieldOffset(12)] public int VertexOffset; /// /// FirstInstance is the instance ID of the first instance to draw. /// [FieldOffset(16)] public int FirstInstance; } }