Class VkPhysicalDeviceVariablePointersFeatures.Buffer

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

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

    • Buffer

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

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

      Sets pNext with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • variablePointersStorageBufferAt

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

      public VkPhysicalDeviceVariablePointersFeatures.Buffer variablePointersStorageBufferAt(long index, int value)
      Sets variablePointersStorageBuffer with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • variablePointersAt

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

      public VkPhysicalDeviceVariablePointersFeatures.Buffer variablePointersAt(long index, int value)
      Sets variablePointers with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this