Class VkDrawIndirectCommand

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkDrawIndirectCommand extends Struct<VkDrawIndirectCommand> implements NativeResource
struct VkDrawIndirectCommand {
    uint32_t vertexCount;
    uint32_t instanceCount;
    uint32_t firstVertex;
    uint32_t firstInstance;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • VERTEXCOUNT

      public static final int VERTEXCOUNT
      The struct member offsets.
    • INSTANCECOUNT

      public static final int INSTANCECOUNT
      The struct member offsets.
    • FIRSTVERTEX

      public static final int FIRSTVERTEX
      The struct member offsets.
    • FIRSTINSTANCE

      public static final int FIRSTINSTANCE
      The struct member offsets.
  • Constructor Details

    • VkDrawIndirectCommand

      public VkDrawIndirectCommand(ByteBuffer container)
      Creates a VkDrawIndirectCommand instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details