Class VkPhysicalDevice16BitStorageFeatures.Buffer

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

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

    • Buffer

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

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

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

      public VkPhysicalDevice16BitStorageFeatures.Buffer storageBuffer16BitAccessAt(long index, int value)
      Sets storageBuffer16BitAccess with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • uniformAndStorageBuffer16BitAccessAt

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

      public VkPhysicalDevice16BitStorageFeatures.Buffer uniformAndStorageBuffer16BitAccessAt(long index, int value)
      Sets uniformAndStorageBuffer16BitAccess with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • storagePushConstant16At

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

      public VkPhysicalDevice16BitStorageFeatures.Buffer storagePushConstant16At(long index, int value)
      Sets storagePushConstant16 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • storageInputOutput16At

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

      public VkPhysicalDevice16BitStorageFeatures.Buffer storageInputOutput16At(long index, int value)
      Sets storageInputOutput16 with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this