Class VkIndirectCommandsLayoutTokenNV.Buffer

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

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

    • Buffer

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

      public int tokenType()
      Returns:
      the value of the tokenType field.
    • stream$

      public int stream$()
      Returns:
      the value of the stream field.
    • offset

      public int offset()
      Returns:
      the value of the offset field.
    • vertexBindingUnit

      public int vertexBindingUnit()
      Returns:
      the value of the vertexBindingUnit field.
    • vertexDynamicStride

      public boolean vertexDynamicStride()
      Returns:
      the value of the vertexDynamicStride field.
    • pushconstantPipelineLayout

      public long pushconstantPipelineLayout()
      Returns:
      the value of the pushconstantPipelineLayout field.
    • pushconstantShaderStageFlags

      public int pushconstantShaderStageFlags()
      Returns:
      the value of the pushconstantShaderStageFlags field.
    • pushconstantOffset

      public int pushconstantOffset()
      Returns:
      the value of the pushconstantOffset field.
    • pushconstantSize

      public int pushconstantSize()
      Returns:
      the value of the pushconstantSize field.
    • indirectStateFlags

      public int indirectStateFlags()
      Returns:
      the value of the indirectStateFlags field.
    • indexTypeCount

      public int indexTypeCount()
      Returns:
      the value of the indexTypeCount field.
    • pIndexTypes

      public @Nullable IntBuffer pIndexTypes()
      Returns:
      a IntBuffer view of the data pointed to by the pIndexTypes field.
    • pIndexTypeValues

      public @Nullable IntBuffer pIndexTypeValues()
      Returns:
      a IntBuffer view of the data pointed to by the pIndexTypeValues field.
    • sType

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

      Sets the STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NV value to the sType field.
    • pNext

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

      public VkIndirectCommandsLayoutTokenNV.Buffer tokenType(int value)
      Sets the specified value to the tokenType field.
    • stream$

      public VkIndirectCommandsLayoutTokenNV.Buffer stream$(int value)
      Sets the specified value to the stream field.
    • offset

      public VkIndirectCommandsLayoutTokenNV.Buffer offset(int value)
      Sets the specified value to the offset field.
    • vertexBindingUnit

      public VkIndirectCommandsLayoutTokenNV.Buffer vertexBindingUnit(int value)
      Sets the specified value to the vertexBindingUnit field.
    • vertexDynamicStride

      public VkIndirectCommandsLayoutTokenNV.Buffer vertexDynamicStride(boolean value)
      Sets the specified value to the vertexDynamicStride field.
    • pushconstantPipelineLayout

      public VkIndirectCommandsLayoutTokenNV.Buffer pushconstantPipelineLayout(long value)
      Sets the specified value to the pushconstantPipelineLayout field.
    • pushconstantShaderStageFlags

      public VkIndirectCommandsLayoutTokenNV.Buffer pushconstantShaderStageFlags(int value)
      Sets the specified value to the pushconstantShaderStageFlags field.
    • pushconstantOffset

      public VkIndirectCommandsLayoutTokenNV.Buffer pushconstantOffset(int value)
      Sets the specified value to the pushconstantOffset field.
    • pushconstantSize

      public VkIndirectCommandsLayoutTokenNV.Buffer pushconstantSize(int value)
      Sets the specified value to the pushconstantSize field.
    • indirectStateFlags

      public VkIndirectCommandsLayoutTokenNV.Buffer indirectStateFlags(int value)
      Sets the specified value to the indirectStateFlags field.
    • indexTypeCount

      public VkIndirectCommandsLayoutTokenNV.Buffer indexTypeCount(int value)
      Sets the specified value to the indexTypeCount field.
    • pIndexTypes

      public VkIndirectCommandsLayoutTokenNV.Buffer pIndexTypes(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pIndexTypes field.
    • pIndexTypeValues

      public VkIndirectCommandsLayoutTokenNV.Buffer pIndexTypeValues(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the pIndexTypeValues field.