Structures

VkMultiDrawIndexedInfoEXT

Structure specifying a multi-draw command

The VkMultiDrawIndexedInfoEXT structure is defined as:

typedef struct VkMultiDrawIndexedInfoEXT {
    uint32_t firstIndex;
    uint32_t indexCount;
    int32_t vertexOffset;
} VkMultiDrawIndexedInfoEXT;
  • firstIndex is the first index to draw.
  • indexCount is the number of vertices to draw.
  • vertexOffset is the value added to the vertex index before indexing into the vertex buffer for indexed multidraws.

The firstIndex, indexCount, and vertexOffset members of VkMultiDrawIndexedInfoEXT have the same meaning as the firstIndex, indexCount, and vertexOffset parameters, respectively, of vkCmdDrawIndexed.