Class VkDescriptorSetBindingReferenceVALVE.Buffer

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

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

    • Buffer

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

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

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

      public VkDescriptorSetBindingReferenceVALVE.Buffer descriptorSetLayoutAt(long index, long value)
      Sets descriptorSetLayout with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • bindingAt

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

      public VkDescriptorSetBindingReferenceVALVE.Buffer bindingAt(long index, int value)
      Sets binding with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this