Class VkCopyDescriptorSet.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
VkCopyDescriptorSet

public static final class VkCopyDescriptorSet.Buffer extends VkCopyDescriptorSet
A buffer of VkCopyDescriptorSet.
  • Constructor Details

    • Buffer

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

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

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

      public VkCopyDescriptorSet.Buffer srcSetAt(long index, long value)
      Sets srcSet with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • srcBindingAt

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

      public VkCopyDescriptorSet.Buffer srcBindingAt(long index, int value)
      Sets srcBinding with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • srcArrayElementAt

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

      public VkCopyDescriptorSet.Buffer srcArrayElementAt(long index, int value)
      Sets srcArrayElement with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dstSetAt

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

      public VkCopyDescriptorSet.Buffer dstSetAt(long index, long value)
      Sets dstSet with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dstBindingAt

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

      public VkCopyDescriptorSet.Buffer dstBindingAt(long index, int value)
      Sets dstBinding with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • dstArrayElementAt

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

      public VkCopyDescriptorSet.Buffer dstArrayElementAt(long index, int value)
      Sets dstArrayElement with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • descriptorCountAt

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

      public VkCopyDescriptorSet.Buffer descriptorCountAt(long index, int value)
      Sets descriptorCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this