Class VkDescriptorBufferBindingInfoEXT.Buffer

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

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

    • Buffer

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

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

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

      public VkDescriptorBufferBindingInfoEXT.Buffer addressAt(long index, long value)
      Sets address with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • usageAt

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

      public VkDescriptorBufferBindingInfoEXT.Buffer usageAt(long index, int value)
      Sets usage with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this