Class VkDrawIndirectCommand

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkDrawIndirectCommand
    extends Struct
    implements NativeResource
    Structure specifying a draw indirect command.

    The members of VkDrawIndirectCommand have the same meaning as the similarly named parameters of CmdDraw.

    Valid Usage
    See Also


    Member documentation

    • vertexCount – the number of vertices to draw.
    • instanceCount – the number of instances to draw.
    • firstVertex – the index of the first vertex to draw.
    • firstInstance – the instance ID of the first instance to draw.


     struct VkDrawIndirectCommand {
         uint32_t vertexCount;
         uint32_t instanceCount;
         uint32_t firstVertex;
         uint32_t firstInstance;