Class VkDrawMeshTasksIndirectCommandEXT.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkDrawMeshTasksIndirectCommandEXT>, NativeResource, Pointer
Enclosing class:
VkDrawMeshTasksIndirectCommandEXT

public static class VkDrawMeshTasksIndirectCommandEXT.Buffer extends StructBuffer<VkDrawMeshTasksIndirectCommandEXT,VkDrawMeshTasksIndirectCommandEXT.Buffer> implements NativeResource
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkDrawMeshTasksIndirectCommandEXT.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkDrawMeshTasksIndirectCommandEXT.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • groupCountX

      public int groupCountX()
      Returns:
      the value of the groupCountX field.
    • groupCountY

      public int groupCountY()
      Returns:
      the value of the groupCountY field.
    • groupCountZ

      public int groupCountZ()
      Returns:
      the value of the groupCountZ field.
    • groupCountX

      public VkDrawMeshTasksIndirectCommandEXT.Buffer groupCountX(int value)
      Sets the specified value to the groupCountX field.
    • groupCountY

      public VkDrawMeshTasksIndirectCommandEXT.Buffer groupCountY(int value)
      Sets the specified value to the groupCountY field.
    • groupCountZ

      public VkDrawMeshTasksIndirectCommandEXT.Buffer groupCountZ(int value)
      Sets the specified value to the groupCountZ field.