Class VkDescriptorSetAllocateInfo.Buffer

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

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

    • Buffer

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

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

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

      public VkDescriptorSetAllocateInfo.Buffer descriptorPoolAt(long index, long value)
      Sets descriptorPool with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • descriptorSetCountAt

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

      public VkDescriptorSetAllocateInfo.Buffer descriptorSetCountAt(long index, int value)
      Sets descriptorSetCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • pSetLayoutsAt

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

      public VkDescriptorSetAllocateInfo.Buffer pSetLayoutsAt(long index, MemorySegment value)
      Sets pSetLayouts with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this