Class VkGeneratedCommandsInfoEXT.Buffer

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

public static class VkGeneratedCommandsInfoEXT.Buffer extends StructBuffer<VkGeneratedCommandsInfoEXT,VkGeneratedCommandsInfoEXT.Buffer> implements NativeResource
An array of VkGeneratedCommandsInfoEXT structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkGeneratedCommandsInfoEXT.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 VkGeneratedCommandsInfoEXT.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

    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • shaderStages

      public int shaderStages()
      Returns:
      the value of the shaderStages field.
    • indirectExecutionSet

      public long indirectExecutionSet()
      Returns:
      the value of the indirectExecutionSet field.
    • indirectCommandsLayout

      public long indirectCommandsLayout()
      Returns:
      the value of the indirectCommandsLayout field.
    • indirectAddress

      public long indirectAddress()
      Returns:
      the value of the indirectAddress field.
    • indirectAddressSize

      public long indirectAddressSize()
      Returns:
      the value of the indirectAddressSize field.
    • preprocessAddress

      public long preprocessAddress()
      Returns:
      the value of the preprocessAddress field.
    • preprocessSize

      public long preprocessSize()
      Returns:
      the value of the preprocessSize field.
    • maxSequenceCount

      public int maxSequenceCount()
      Returns:
      the value of the maxSequenceCount field.
    • sequenceCountAddress

      public long sequenceCountAddress()
      Returns:
      the value of the sequenceCountAddress field.
    • maxDrawCount

      public int maxDrawCount()
      Returns:
      the value of the maxDrawCount field.
    • sType

      public VkGeneratedCommandsInfoEXT.Buffer sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkGeneratedCommandsInfoEXT.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_EXT value to the sType field.
    • pNext

      public VkGeneratedCommandsInfoEXT.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • pNext

      Prepends the specified VkGeneratedCommandsPipelineInfoEXT value to the pNext chain.
    • pNext

      Prepends the specified VkGeneratedCommandsShaderInfoEXT value to the pNext chain.
    • shaderStages

      public VkGeneratedCommandsInfoEXT.Buffer shaderStages(int value)
      Sets the specified value to the shaderStages field.
    • indirectExecutionSet

      public VkGeneratedCommandsInfoEXT.Buffer indirectExecutionSet(long value)
      Sets the specified value to the indirectExecutionSet field.
    • indirectCommandsLayout

      public VkGeneratedCommandsInfoEXT.Buffer indirectCommandsLayout(long value)
      Sets the specified value to the indirectCommandsLayout field.
    • indirectAddress

      public VkGeneratedCommandsInfoEXT.Buffer indirectAddress(long value)
      Sets the specified value to the indirectAddress field.
    • indirectAddressSize

      public VkGeneratedCommandsInfoEXT.Buffer indirectAddressSize(long value)
      Sets the specified value to the indirectAddressSize field.
    • preprocessAddress

      public VkGeneratedCommandsInfoEXT.Buffer preprocessAddress(long value)
      Sets the specified value to the preprocessAddress field.
    • preprocessSize

      public VkGeneratedCommandsInfoEXT.Buffer preprocessSize(long value)
      Sets the specified value to the preprocessSize field.
    • maxSequenceCount

      public VkGeneratedCommandsInfoEXT.Buffer maxSequenceCount(int value)
      Sets the specified value to the maxSequenceCount field.
    • sequenceCountAddress

      public VkGeneratedCommandsInfoEXT.Buffer sequenceCountAddress(long value)
      Sets the specified value to the sequenceCountAddress field.
    • maxDrawCount

      public VkGeneratedCommandsInfoEXT.Buffer maxDrawCount(int value)
      Sets the specified value to the maxDrawCount field.