Class VkGeneratedCommandsInfoNV.Buffer

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

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

    • Buffer

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

      public int pipelineBindPoint()
      Returns:
      the value of the pipelineBindPoint field.
    • pipeline

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

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

      public int streamCount()
      Returns:
      the value of the streamCount field.
    • pStreams

      Returns:
      a VkIndirectCommandsStreamNV.Buffer view of the struct array pointed to by the pStreams field.
    • sequencesCount

      public int sequencesCount()
      Returns:
      the value of the sequencesCount field.
    • preprocessBuffer

      public long preprocessBuffer()
      Returns:
      the value of the preprocessBuffer field.
    • preprocessOffset

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

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

      public long sequencesCountBuffer()
      Returns:
      the value of the sequencesCountBuffer field.
    • sequencesCountOffset

      public long sequencesCountOffset()
      Returns:
      the value of the sequencesCountOffset field.
    • sequencesIndexBuffer

      public long sequencesIndexBuffer()
      Returns:
      the value of the sequencesIndexBuffer field.
    • sequencesIndexOffset

      public long sequencesIndexOffset()
      Returns:
      the value of the sequencesIndexOffset field.
    • sType

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

      public VkGeneratedCommandsInfoNV.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV value to the sType field.
    • pNext

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

      public VkGeneratedCommandsInfoNV.Buffer pipelineBindPoint(int value)
      Sets the specified value to the pipelineBindPoint field.
    • pipeline

      public VkGeneratedCommandsInfoNV.Buffer pipeline(long value)
      Sets the specified value to the pipeline field.
    • indirectCommandsLayout

      public VkGeneratedCommandsInfoNV.Buffer indirectCommandsLayout(long value)
      Sets the specified value to the indirectCommandsLayout field.
    • pStreams

      Sets the address of the specified VkIndirectCommandsStreamNV.Buffer to the pStreams field.
    • sequencesCount

      public VkGeneratedCommandsInfoNV.Buffer sequencesCount(int value)
      Sets the specified value to the sequencesCount field.
    • preprocessBuffer

      public VkGeneratedCommandsInfoNV.Buffer preprocessBuffer(long value)
      Sets the specified value to the preprocessBuffer field.
    • preprocessOffset

      public VkGeneratedCommandsInfoNV.Buffer preprocessOffset(long value)
      Sets the specified value to the preprocessOffset field.
    • preprocessSize

      public VkGeneratedCommandsInfoNV.Buffer preprocessSize(long value)
      Sets the specified value to the preprocessSize field.
    • sequencesCountBuffer

      public VkGeneratedCommandsInfoNV.Buffer sequencesCountBuffer(long value)
      Sets the specified value to the sequencesCountBuffer field.
    • sequencesCountOffset

      public VkGeneratedCommandsInfoNV.Buffer sequencesCountOffset(long value)
      Sets the specified value to the sequencesCountOffset field.
    • sequencesIndexBuffer

      public VkGeneratedCommandsInfoNV.Buffer sequencesIndexBuffer(long value)
      Sets the specified value to the sequencesIndexBuffer field.
    • sequencesIndexOffset

      public VkGeneratedCommandsInfoNV.Buffer sequencesIndexOffset(long value)
      Sets the specified value to the sequencesIndexOffset field.