Class VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
All Implemented Interfaces:
Addressable

public final class VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT extends GroupType

Layout

struct VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT {
    (int) VkStructureType sType;
    void* pNext;
    (uint64_t) VkDeviceSize storageTexelBufferOffsetAlignmentBytes;
    (uint32_t) VkBool32 storageTexelBufferOffsetSingleTexelAlignment;
    (uint64_t) VkDeviceSize uniformTexelBufferOffsetAlignmentBytes;
    (uint32_t) VkBool32 uniformTexelBufferOffsetSingleTexelAlignment;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.
    • OFFSET_sType

      public static final long OFFSET_sType
      The byte offset of sType.
    • LAYOUT_sType

      public static final MemoryLayout LAYOUT_sType
      The memory layout of sType.
    • VH_sType

      public static final VarHandle VH_sType
      The VarHandle of sType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pNext

      public static final long OFFSET_pNext
      The byte offset of pNext.
    • LAYOUT_pNext

      public static final MemoryLayout LAYOUT_pNext
      The memory layout of pNext.
    • VH_pNext

      public static final VarHandle VH_pNext
      The VarHandle of pNext of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_storageTexelBufferOffsetAlignmentBytes

      public static final long OFFSET_storageTexelBufferOffsetAlignmentBytes
      The byte offset of storageTexelBufferOffsetAlignmentBytes.
    • LAYOUT_storageTexelBufferOffsetAlignmentBytes

      public static final MemoryLayout LAYOUT_storageTexelBufferOffsetAlignmentBytes
      The memory layout of storageTexelBufferOffsetAlignmentBytes.
    • VH_storageTexelBufferOffsetAlignmentBytes

      public static final VarHandle VH_storageTexelBufferOffsetAlignmentBytes
      The VarHandle of storageTexelBufferOffsetAlignmentBytes of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_storageTexelBufferOffsetSingleTexelAlignment

      public static final long OFFSET_storageTexelBufferOffsetSingleTexelAlignment
      The byte offset of storageTexelBufferOffsetSingleTexelAlignment.
    • LAYOUT_storageTexelBufferOffsetSingleTexelAlignment

      public static final MemoryLayout LAYOUT_storageTexelBufferOffsetSingleTexelAlignment
      The memory layout of storageTexelBufferOffsetSingleTexelAlignment.
    • VH_storageTexelBufferOffsetSingleTexelAlignment

      public static final VarHandle VH_storageTexelBufferOffsetSingleTexelAlignment
      The VarHandle of storageTexelBufferOffsetSingleTexelAlignment of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_uniformTexelBufferOffsetAlignmentBytes

      public static final long OFFSET_uniformTexelBufferOffsetAlignmentBytes
      The byte offset of uniformTexelBufferOffsetAlignmentBytes.
    • LAYOUT_uniformTexelBufferOffsetAlignmentBytes

      public static final MemoryLayout LAYOUT_uniformTexelBufferOffsetAlignmentBytes
      The memory layout of uniformTexelBufferOffsetAlignmentBytes.
    • VH_uniformTexelBufferOffsetAlignmentBytes

      public static final VarHandle VH_uniformTexelBufferOffsetAlignmentBytes
      The VarHandle of uniformTexelBufferOffsetAlignmentBytes of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_uniformTexelBufferOffsetSingleTexelAlignment

      public static final long OFFSET_uniformTexelBufferOffsetSingleTexelAlignment
      The byte offset of uniformTexelBufferOffsetSingleTexelAlignment.
    • LAYOUT_uniformTexelBufferOffsetSingleTexelAlignment

      public static final MemoryLayout LAYOUT_uniformTexelBufferOffsetSingleTexelAlignment
      The memory layout of uniformTexelBufferOffsetSingleTexelAlignment.
    • VH_uniformTexelBufferOffsetSingleTexelAlignment

      public static final VarHandle VH_uniformTexelBufferOffsetSingleTexelAlignment
      The VarHandle of uniformTexelBufferOffsetSingleTexelAlignment of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(MemorySegment segment, long elementCount)
      Creates VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count of this struct buffer
  • Method Details

    • of

      Creates VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      Creates VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT ofNative(MemorySegment segment, long count)

      Creates VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      Allocates a VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
    • alloc

      public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT alloc(SegmentAllocator allocator, long count)
      Allocates a VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
    • copyFrom

      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • reinterpret

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT reinterpret(long count)
      Reinterprets this buffer with the given count.
      Parameters:
      count - the new count
      Returns:
      the reinterpreted buffer
    • sType

      public static int sType(MemorySegment segment, long index)
      Returns sType at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sType

      public int sType()
      Returns sType.
      Returns:
      sType
    • sType

      public static void sType(MemorySegment segment, long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • sType

      Sets sType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pNext

      public static MemorySegment pNext(MemorySegment segment, long index)
      Returns pNext at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNext

      public MemorySegment pNext()
      Returns pNext.
      Returns:
      pNext
    • pNext

      public static void pNext(MemorySegment segment, long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pNext

      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • storageTexelBufferOffsetAlignmentBytes

      public static long storageTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index)
      Returns storageTexelBufferOffsetAlignmentBytes at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      storageTexelBufferOffsetAlignmentBytes at the given index
    • storageTexelBufferOffsetAlignmentBytes

      public long storageTexelBufferOffsetAlignmentBytes()
      Returns storageTexelBufferOffsetAlignmentBytes.
      Returns:
      storageTexelBufferOffsetAlignmentBytes
    • storageTexelBufferOffsetAlignmentBytes

      public static void storageTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index, long value)
      Sets storageTexelBufferOffsetAlignmentBytes with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • storageTexelBufferOffsetAlignmentBytes

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetAlignmentBytes(long value)
      Sets storageTexelBufferOffsetAlignmentBytes with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • storageTexelBufferOffsetSingleTexelAlignment

      public static int storageTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index)
      Returns storageTexelBufferOffsetSingleTexelAlignment at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      storageTexelBufferOffsetSingleTexelAlignment at the given index
    • storageTexelBufferOffsetSingleTexelAlignment

      public int storageTexelBufferOffsetSingleTexelAlignment()
      Returns storageTexelBufferOffsetSingleTexelAlignment.
      Returns:
      storageTexelBufferOffsetSingleTexelAlignment
    • storageTexelBufferOffsetSingleTexelAlignment

      public static void storageTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index, int value)
      Sets storageTexelBufferOffsetSingleTexelAlignment with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • storageTexelBufferOffsetSingleTexelAlignment

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetSingleTexelAlignment(int value)
      Sets storageTexelBufferOffsetSingleTexelAlignment with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • uniformTexelBufferOffsetAlignmentBytes

      public static long uniformTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index)
      Returns uniformTexelBufferOffsetAlignmentBytes at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      uniformTexelBufferOffsetAlignmentBytes at the given index
    • uniformTexelBufferOffsetAlignmentBytes

      public long uniformTexelBufferOffsetAlignmentBytes()
      Returns uniformTexelBufferOffsetAlignmentBytes.
      Returns:
      uniformTexelBufferOffsetAlignmentBytes
    • uniformTexelBufferOffsetAlignmentBytes

      public static void uniformTexelBufferOffsetAlignmentBytes(MemorySegment segment, long index, long value)
      Sets uniformTexelBufferOffsetAlignmentBytes with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • uniformTexelBufferOffsetAlignmentBytes

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetAlignmentBytes(long value)
      Sets uniformTexelBufferOffsetAlignmentBytes with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • uniformTexelBufferOffsetSingleTexelAlignment

      public static int uniformTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index)
      Returns uniformTexelBufferOffsetSingleTexelAlignment at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      uniformTexelBufferOffsetSingleTexelAlignment at the given index
    • uniformTexelBufferOffsetSingleTexelAlignment

      public int uniformTexelBufferOffsetSingleTexelAlignment()
      Returns uniformTexelBufferOffsetSingleTexelAlignment.
      Returns:
      uniformTexelBufferOffsetSingleTexelAlignment
    • uniformTexelBufferOffsetSingleTexelAlignment

      public static void uniformTexelBufferOffsetSingleTexelAlignment(MemorySegment segment, long index, int value)
      Sets uniformTexelBufferOffsetSingleTexelAlignment with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • uniformTexelBufferOffsetSingleTexelAlignment

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetSingleTexelAlignment(int value)
      Sets uniformTexelBufferOffsetSingleTexelAlignment with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • asSlice

      Creates a slice of VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
    • asSlice

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT asSlice(long index, long count)
      Creates a slice of VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
    • at

      Visits VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT buffer at the given index.
      Parameters:
      index - the index of this buffer
      func - the function to run with the slice of this buffer
      Returns:
      this
    • 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 VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT 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
    • storageTexelBufferOffsetAlignmentBytesAt

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

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetAlignmentBytesAt(long index, long value)
      Sets storageTexelBufferOffsetAlignmentBytes with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • storageTexelBufferOffsetSingleTexelAlignmentAt

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

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT storageTexelBufferOffsetSingleTexelAlignmentAt(long index, int value)
      Sets storageTexelBufferOffsetSingleTexelAlignment with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • uniformTexelBufferOffsetAlignmentBytesAt

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

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetAlignmentBytesAt(long index, long value)
      Sets uniformTexelBufferOffsetAlignmentBytes with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • uniformTexelBufferOffsetSingleTexelAlignmentAt

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

      public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT uniformTexelBufferOffsetSingleTexelAlignmentAt(long index, int value)
      Sets uniformTexelBufferOffsetSingleTexelAlignment with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this