Class VkPhysicalDeviceShaderObjectPropertiesEXT

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

public final class VkPhysicalDeviceShaderObjectPropertiesEXT extends GroupType

Layout

struct VkPhysicalDeviceShaderObjectPropertiesEXT {
    (int) VkStructureType sType;
    void* pNext;
    uint8_t shaderBinaryUUID[16];
    uint32_t shaderBinaryVersion;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkPhysicalDeviceShaderObjectPropertiesEXT.
    • 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_shaderBinaryUUID

      public static final long OFFSET_shaderBinaryUUID
      The byte offset of shaderBinaryUUID.
    • LAYOUT_shaderBinaryUUID

      public static final MemoryLayout LAYOUT_shaderBinaryUUID
      The memory layout of shaderBinaryUUID.
    • VH_shaderBinaryUUID

      public static final VarHandle VH_shaderBinaryUUID
      The VarHandle of shaderBinaryUUID of type (MemorySegment base, long baseOffset, long index, long index0)MemorySegment.
    • OFFSET_shaderBinaryVersion

      public static final long OFFSET_shaderBinaryVersion
      The byte offset of shaderBinaryVersion.
    • LAYOUT_shaderBinaryVersion

      public static final MemoryLayout LAYOUT_shaderBinaryVersion
      The memory layout of shaderBinaryVersion.
    • VH_shaderBinaryVersion

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

    • VkPhysicalDeviceShaderObjectPropertiesEXT

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

    • of

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

      public static VkPhysicalDeviceShaderObjectPropertiesEXT ofNative(MemorySegment segment)

      Creates VkPhysicalDeviceShaderObjectPropertiesEXT 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 VkPhysicalDeviceShaderObjectPropertiesEXT ofNative(MemorySegment segment, long count)

      Creates VkPhysicalDeviceShaderObjectPropertiesEXT 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 VkPhysicalDeviceShaderObjectPropertiesEXT with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkPhysicalDeviceShaderObjectPropertiesEXT
    • alloc

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

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

      public VkPhysicalDeviceShaderObjectPropertiesEXT 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
    • shaderBinaryUUID

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

      public static byte shaderBinaryUUID(MemorySegment segment, long index, long index0)
      Returns shaderBinaryUUID at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      shaderBinaryUUID at the given index
    • shaderBinaryUUID

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

      public byte shaderBinaryUUID(long index0)
      Returns shaderBinaryUUID.
      Parameters:
      index0 - the Index 0 of the array
      Returns:
      shaderBinaryUUID
    • shaderBinaryUUID

      public static void shaderBinaryUUID(MemorySegment segment, long index, MemorySegment value)
      Sets shaderBinaryUUID 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
    • shaderBinaryUUID

      public static void shaderBinaryUUID(MemorySegment segment, long index, long index0, byte value)
      Sets shaderBinaryUUID with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
    • shaderBinaryUUID

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

      public VkPhysicalDeviceShaderObjectPropertiesEXT shaderBinaryUUID(long index0, byte value)
      Sets shaderBinaryUUID with the given value.
      Parameters:
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • shaderBinaryVersion

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

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

      public static void shaderBinaryVersion(MemorySegment segment, long index, int value)
      Sets shaderBinaryVersion 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
    • shaderBinaryVersion

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

      public VkPhysicalDeviceShaderObjectPropertiesEXT asSlice(long index)
      Creates a slice of VkPhysicalDeviceShaderObjectPropertiesEXT.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of VkPhysicalDeviceShaderObjectPropertiesEXT
    • asSlice

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

      Visits VkPhysicalDeviceShaderObjectPropertiesEXT 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 VkPhysicalDeviceShaderObjectPropertiesEXT 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 VkPhysicalDeviceShaderObjectPropertiesEXT 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
    • shaderBinaryUUIDAt

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

      public byte shaderBinaryUUIDAt(long index, long index0)
      Returns shaderBinaryUUID at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      Returns:
      shaderBinaryUUID at the given index
    • shaderBinaryUUIDAt

      public VkPhysicalDeviceShaderObjectPropertiesEXT shaderBinaryUUIDAt(long index, MemorySegment value)
      Sets shaderBinaryUUID with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • shaderBinaryUUIDAt

      public VkPhysicalDeviceShaderObjectPropertiesEXT shaderBinaryUUIDAt(long index, long index0, byte value)
      Sets shaderBinaryUUID with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • shaderBinaryVersionAt

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

      public VkPhysicalDeviceShaderObjectPropertiesEXT shaderBinaryVersionAt(long index, int value)
      Sets shaderBinaryVersion with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this