Class VkMicromapBuildSizesInfoEXT.Buffer

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

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

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates VkMicromapBuildSizesInfoEXT.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 VkMicromapBuildSizesInfoEXT asSlice(long index)
      Creates a slice of VkMicromapBuildSizesInfoEXT.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkMicromapBuildSizesInfoEXT
    • asSlice

      public VkMicromapBuildSizesInfoEXT.Buffer asSlice(long index, long count)
      Creates a slice of VkMicromapBuildSizesInfoEXT.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkMicromapBuildSizesInfoEXT
    • 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 VkMicromapBuildSizesInfoEXT.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

      public VkMicromapBuildSizesInfoEXT.Buffer pNextAt(long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • micromapSizeAt

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

      public VkMicromapBuildSizesInfoEXT.Buffer micromapSizeAt(long index, long value)
      Sets micromapSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • buildScratchSizeAt

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

      public VkMicromapBuildSizesInfoEXT.Buffer buildScratchSizeAt(long index, long value)
      Sets buildScratchSize with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • discardableAt

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

      public VkMicromapBuildSizesInfoEXT.Buffer discardableAt(long index, int value)
      Sets discardable with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this