Class VkDrawIndexedIndirectCommand

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDrawIndexedIndirectCommand>
org.lwjgl.vulkan.VkDrawIndexedIndirectCommand
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkDrawIndexedIndirectCommand extends org.lwjgl.system.Struct<VkDrawIndexedIndirectCommand> implements org.lwjgl.system.NativeResource
Structure specifying an indexed indirect drawing command.
Description

The members of VkDrawIndexedIndirectCommand have the same meaning as the similarly named parameters of CmdDrawIndexed.

Valid Usage
  • If the robustBufferAccess2 feature is not enabled, (indexSize × (firstIndex + indexCount) + offset) must be less than or equal to the size of the bound index buffer, with indexSize being based on the type specified by indexType, where the index buffer, indexType, and offset are specified via vkCmdBindIndexBuffer or vkCmdBindIndexBuffer2. If vkCmdBindIndexBuffer2 is used to bind the index buffer, the size of the bound index buffer is CmdBindIndexBuffer2::size
  • If the drawIndirectFirstInstance feature is not enabled, firstInstance must be 0
See Also

CmdDrawIndexedIndirect

Layout


 struct VkDrawIndexedIndirectCommand {
     uint32_t indexCount();
     uint32_t instanceCount();
     uint32_t firstIndex();
     int32_t vertexOffset();
     uint32_t firstInstance();
 }