Class VkIndirectCommandsStreamNV.Buffer

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.nv.struct.VkIndirectCommandsStreamNV
overrungl.vulkan.nv.struct.VkIndirectCommandsStreamNV.Buffer
All Implemented Interfaces:
Addressable
Enclosing class:
VkIndirectCommandsStreamNV

public static final class VkIndirectCommandsStreamNV.Buffer extends VkIndirectCommandsStreamNV
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkIndirectCommandsStreamNV.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public VkIndirectCommandsStreamNV asSlice(long index)
      Creates a slice of VkIndirectCommandsStreamNV.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkIndirectCommandsStreamNV
    • asSlice

      public VkIndirectCommandsStreamNV.Buffer asSlice(long index, long count)
      Creates a slice of VkIndirectCommandsStreamNV.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkIndirectCommandsStreamNV
    • bufferAt

      public long bufferAt(long index)
      Returns buffer at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      buffer at the given index
    • bufferAt

      public VkIndirectCommandsStreamNV.Buffer bufferAt(long index, long value)
      Sets buffer with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • offsetAt

      public long offsetAt(long index)
      Returns offset at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      offset at the given index
    • offsetAt

      public VkIndirectCommandsStreamNV.Buffer offsetAt(long index, long value)
      Sets offset with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this