Class VkClusterAccelerationStructureClustersBottomLevelInputNV.Buffer

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

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

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkClusterAccelerationStructureClustersBottomLevelInputNV.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

      Creates a slice of VkClusterAccelerationStructureClustersBottomLevelInputNV.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkClusterAccelerationStructureClustersBottomLevelInputNV
    • asSlice

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

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

      public VkClusterAccelerationStructureClustersBottomLevelInputNV.Buffer sTypeAt(long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pNextAt

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

      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxTotalClusterCountAt

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

      public VkClusterAccelerationStructureClustersBottomLevelInputNV.Buffer maxTotalClusterCountAt(long index, int value)
      Sets maxTotalClusterCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • maxClusterCountPerAccelerationStructureAt

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

      public VkClusterAccelerationStructureClustersBottomLevelInputNV.Buffer maxClusterCountPerAccelerationStructureAt(long index, int value)
      Sets maxClusterCountPerAccelerationStructure with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this