VkMultiDrawInfoEXT or VkMultiDrawIndexedInfoEXT structs with vkCmdDrawMultiEXT or vkCmdDrawMultiIndexedEXT, respectively. These functions could be used any time multiple draw commands are being recorded without any state changes between them in order to maximize performance.
VK_EXT_multi_drawVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_EXT_MULTI_DRAW_EXTENSION_NAME
The extension name. |
| public static final int | VK_EXT_MULTI_DRAW_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT
Extends |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | nvkCmdDrawMultiEXT(VkCommandBuffer commandBuffer, int
the number of draws to execute, and can be zero. drawCount, long pVertexInfo, int instanceCount, int firstInstance, int stride)Unsafe version of: |
| public static void | nvkCmdDrawMultiIndexedEXT(VkCommandBuffer commandBuffer, int
the number of draws to execute, and can be zero. drawCount, long pIndexInfo, int instanceCount, int firstInstance, int stride, long pVertexOffset)Unsafe version of: |
| public static void | vkCmdDrawMultiEXT(VkCommandBuffer
the command buffer into which the command is recorded. commandBuffer, VkMultiDrawInfoEXT.a pointer to an array of pVertexInfo,VkMultiDrawInfoEXT with vertex information to be drawn.the number of instances to draw. instanceCount, int the instance ID of the first instance to draw. firstInstance, int the byte stride between consecutive elements of stride)pVertexInfo.Draw primitives. |
| public static void | vkCmdDrawMultiIndexedEXT(VkCommandBuffer
the command buffer into which the command is recorded. commandBuffer, VkMultiDrawIndexedInfoEXT.a pointer to an array of pIndexInfo,VkMultiDrawIndexedInfoEXT with index information to be drawn.the number of instances to draw. instanceCount, int the instance ID of the first instance to draw. firstInstance, int the byte stride between consecutive elements of stride, IntBuffer pIndexInfo.NULL or a pointer to the value added to the vertex index before indexing into the vertex buffer. When specified, VkMultiDrawIndexedInfoEXT::offset is ignored.Draw primitives. |
| public static void | vkCmdDrawMultiIndexedEXT(VkCommandBuffer commandBuffer, VkMultiDrawIndexedInfoEXT.
Array version of: |