namespace Brutal.VulkanApi { /// /// VkBindIndexBufferIndirectCommandNV - Structure specifying input data for a single index buffer command token /// /// /// /// The VkBindIndexBufferIndirectCommandNV structure specifies the input /// data for the VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV token. /// /// /// // Provided by VK_NV_device_generated_commands /// typedef struct VkBindIndexBufferIndirectCommandNV { /// VkDeviceAddress bufferAddress; /// uint32_t size; /// VkIndexType indexType; /// } VkBindIndexBufferIndirectCommandNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 16)] public partial struct VkBindIndexBufferIndirectCommandNV() { /// /// BufferAddress specifies a physical address of the VkBuffer used as index buffer. /// [FieldOffset(0)] public VkDeviceAddress BufferAddress; /// /// Size is the byte size range which is available for this operation from the provided address. /// [FieldOffset(8)] public int Size; /// /// IndexType is a VkIndexType value specifying how indices are treated. Instead of the Vulkan enum values, a custom `uint32_t` value can be mapped to VkIndexType by specifying the VkIndirectCommandsLayoutTokenNV::pIndexTypes and VkIndirectCommandsLayoutTokenNV::pIndexTypeValues arrays. /// [FieldOffset(12)] public VkIndexType IndexType; } }