Class VkDeviceFaultVendorBinaryHeaderVersionOneEXT

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkDeviceFaultVendorBinaryHeaderVersionOneEXT
All Implemented Interfaces:
Addressable
Direct Known Subclasses:
VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer

public sealed class VkDeviceFaultVendorBinaryHeaderVersionOneEXT extends GroupType permits VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer

Layout

struct VkDeviceFaultVendorBinaryHeaderVersionOneEXT {
    uint32_t headerSize;
    (int) VkDeviceFaultVendorBinaryHeaderVersionEXT headerVersion;
    uint32_t vendorID;
    uint32_t deviceID;
    uint32_t driverVersion;
    uint8_t pipelineCacheUUID[16];
    uint32_t applicationNameOffset;
    uint32_t applicationVersion;
    uint32_t engineNameOffset;
    uint32_t engineVersion;
    uint32_t apiVersion;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkDeviceFaultVendorBinaryHeaderVersionOneEXT.
    • OFFSET_headerSize

      public static final long OFFSET_headerSize
      The byte offset of headerSize.
    • LAYOUT_headerSize

      public static final MemoryLayout LAYOUT_headerSize
      The memory layout of headerSize.
    • VH_headerSize

      public static final VarHandle VH_headerSize
      The VarHandle of headerSize of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_headerVersion

      public static final long OFFSET_headerVersion
      The byte offset of headerVersion.
    • LAYOUT_headerVersion

      public static final MemoryLayout LAYOUT_headerVersion
      The memory layout of headerVersion.
    • VH_headerVersion

      public static final VarHandle VH_headerVersion
      The VarHandle of headerVersion of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_vendorID

      public static final long OFFSET_vendorID
      The byte offset of vendorID.
    • LAYOUT_vendorID

      public static final MemoryLayout LAYOUT_vendorID
      The memory layout of vendorID.
    • VH_vendorID

      public static final VarHandle VH_vendorID
      The VarHandle of vendorID of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_deviceID

      public static final long OFFSET_deviceID
      The byte offset of deviceID.
    • LAYOUT_deviceID

      public static final MemoryLayout LAYOUT_deviceID
      The memory layout of deviceID.
    • VH_deviceID

      public static final VarHandle VH_deviceID
      The VarHandle of deviceID of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_driverVersion

      public static final long OFFSET_driverVersion
      The byte offset of driverVersion.
    • LAYOUT_driverVersion

      public static final MemoryLayout LAYOUT_driverVersion
      The memory layout of driverVersion.
    • VH_driverVersion

      public static final VarHandle VH_driverVersion
      The VarHandle of driverVersion of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pipelineCacheUUID

      public static final long OFFSET_pipelineCacheUUID
      The byte offset of pipelineCacheUUID.
    • LAYOUT_pipelineCacheUUID

      public static final MemoryLayout LAYOUT_pipelineCacheUUID
      The memory layout of pipelineCacheUUID.
    • VH_pipelineCacheUUID

      public static final VarHandle VH_pipelineCacheUUID
      The VarHandle of pipelineCacheUUID of type (MemorySegment base, long baseOffset, long index, long index0)MemorySegment.
    • OFFSET_applicationNameOffset

      public static final long OFFSET_applicationNameOffset
      The byte offset of applicationNameOffset.
    • LAYOUT_applicationNameOffset

      public static final MemoryLayout LAYOUT_applicationNameOffset
      The memory layout of applicationNameOffset.
    • VH_applicationNameOffset

      public static final VarHandle VH_applicationNameOffset
      The VarHandle of applicationNameOffset of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_applicationVersion

      public static final long OFFSET_applicationVersion
      The byte offset of applicationVersion.
    • LAYOUT_applicationVersion

      public static final MemoryLayout LAYOUT_applicationVersion
      The memory layout of applicationVersion.
    • VH_applicationVersion

      public static final VarHandle VH_applicationVersion
      The VarHandle of applicationVersion of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_engineNameOffset

      public static final long OFFSET_engineNameOffset
      The byte offset of engineNameOffset.
    • LAYOUT_engineNameOffset

      public static final MemoryLayout LAYOUT_engineNameOffset
      The memory layout of engineNameOffset.
    • VH_engineNameOffset

      public static final VarHandle VH_engineNameOffset
      The VarHandle of engineNameOffset of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_engineVersion

      public static final long OFFSET_engineVersion
      The byte offset of engineVersion.
    • LAYOUT_engineVersion

      public static final MemoryLayout LAYOUT_engineVersion
      The memory layout of engineVersion.
    • VH_engineVersion

      public static final VarHandle VH_engineVersion
      The VarHandle of engineVersion of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_apiVersion

      public static final long OFFSET_apiVersion
      The byte offset of apiVersion.
    • LAYOUT_apiVersion

      public static final MemoryLayout LAYOUT_apiVersion
      The memory layout of apiVersion.
    • VH_apiVersion

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

    • VkDeviceFaultVendorBinaryHeaderVersionOneEXT

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT(MemorySegment segment)
      Creates VkDeviceFaultVendorBinaryHeaderVersionOneEXT with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

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

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

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

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

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

      Converts this instance to a buffer.
      Returns:
      the buffer
    • headerSize

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT headerSize(int value)
      Sets headerSize with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • headerVersion

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT headerVersion(int value)
      Sets headerVersion with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • vendorID

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT vendorID(int value)
      Sets vendorID with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • deviceID

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT deviceID(int value)
      Sets deviceID with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • driverVersion

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT driverVersion(int value)
      Sets driverVersion with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pipelineCacheUUID

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

      public static byte pipelineCacheUUID(MemorySegment segment, long index, long index0)
      Returns pipelineCacheUUID 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:
      pipelineCacheUUID at the given index
    • pipelineCacheUUID

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

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

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT pipelineCacheUUID(long index0, byte value)
      Sets pipelineCacheUUID with the given value.
      Parameters:
      index0 - the Index 0 of the array
      value - the value
      Returns:
      this
    • applicationNameOffset

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT applicationNameOffset(int value)
      Sets applicationNameOffset with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • applicationVersion

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT applicationVersion(int value)
      Sets applicationVersion with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • engineNameOffset

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT engineNameOffset(int value)
      Sets engineNameOffset with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • engineVersion

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT engineVersion(int value)
      Sets engineVersion with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • apiVersion

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

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

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

      public VkDeviceFaultVendorBinaryHeaderVersionOneEXT apiVersion(int value)
      Sets apiVersion with the given value.
      Parameters:
      value - the value
      Returns:
      this