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;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A buffer ofVkDeviceFaultVendorBinaryHeaderVersionOneEXT
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkDeviceFaultVendorBinaryHeaderVersionOneEXT
.static final MemoryLayout
The memory layout ofapiVersion
.static final MemoryLayout
The memory layout ofapplicationNameOffset
.static final MemoryLayout
The memory layout ofapplicationVersion
.static final MemoryLayout
The memory layout ofdeviceID
.static final MemoryLayout
The memory layout ofdriverVersion
.static final MemoryLayout
The memory layout ofengineNameOffset
.static final MemoryLayout
The memory layout ofengineVersion
.static final MemoryLayout
The memory layout ofheaderSize
.static final MemoryLayout
The memory layout ofheaderVersion
.static final MemoryLayout
The memory layout ofpipelineCacheUUID
.static final MemoryLayout
The memory layout ofvendorID
.static final long
The byte offset ofapiVersion
.static final long
The byte offset ofapplicationNameOffset
.static final long
The byte offset ofapplicationVersion
.static final long
The byte offset ofdeviceID
.static final long
The byte offset ofdriverVersion
.static final long
The byte offset ofengineNameOffset
.static final long
The byte offset ofengineVersion
.static final long
The byte offset ofheaderSize
.static final long
The byte offset ofheaderVersion
.static final long
The byte offset ofpipelineCacheUUID
.static final long
The byte offset ofvendorID
.static final VarHandle
static final VarHandle
TheVarHandle
ofapplicationNameOffset
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofapplicationVersion
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofdriverVersion
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofengineNameOffset
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofengineVersion
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofheaderVersion
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpipelineCacheUUID
of type(MemorySegment base, long baseOffset, long index, long index0)MemorySegment
.static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionCreatesVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment allocator and count.int
ReturnsapiVersion
.apiVersion
(int value) SetsapiVersion
with the given value.static int
apiVersion
(MemorySegment segment, long index) ReturnsapiVersion
at the given index.static void
apiVersion
(MemorySegment segment, long index, int value) SetsapiVersion
with the given value at the given index.int
ReturnsapplicationNameOffset
.applicationNameOffset
(int value) SetsapplicationNameOffset
with the given value.static int
applicationNameOffset
(MemorySegment segment, long index) ReturnsapplicationNameOffset
at the given index.static void
applicationNameOffset
(MemorySegment segment, long index, int value) SetsapplicationNameOffset
with the given value at the given index.int
ReturnsapplicationVersion
.applicationVersion
(int value) SetsapplicationVersion
with the given value.static int
applicationVersion
(MemorySegment segment, long index) ReturnsapplicationVersion
at the given index.static void
applicationVersion
(MemorySegment segment, long index, int value) SetsapplicationVersion
with the given value at the given index.asBuffer()
Converts this instance to a buffer.Copies from the given source.int
deviceID()
ReturnsdeviceID
.deviceID
(int value) SetsdeviceID
with the given value.static int
deviceID
(MemorySegment segment, long index) ReturnsdeviceID
at the given index.static void
deviceID
(MemorySegment segment, long index, int value) SetsdeviceID
with the given value at the given index.int
ReturnsdriverVersion
.driverVersion
(int value) SetsdriverVersion
with the given value.static int
driverVersion
(MemorySegment segment, long index) ReturnsdriverVersion
at the given index.static void
driverVersion
(MemorySegment segment, long index, int value) SetsdriverVersion
with the given value at the given index.int
ReturnsengineNameOffset
.engineNameOffset
(int value) SetsengineNameOffset
with the given value.static int
engineNameOffset
(MemorySegment segment, long index) ReturnsengineNameOffset
at the given index.static void
engineNameOffset
(MemorySegment segment, long index, int value) SetsengineNameOffset
with the given value at the given index.int
ReturnsengineVersion
.engineVersion
(int value) SetsengineVersion
with the given value.static int
engineVersion
(MemorySegment segment, long index) ReturnsengineVersion
at the given index.static void
engineVersion
(MemorySegment segment, long index, int value) SetsengineVersion
with the given value at the given index.int
ReturnsheaderSize
.headerSize
(int value) SetsheaderSize
with the given value.static int
headerSize
(MemorySegment segment, long index) ReturnsheaderSize
at the given index.static void
headerSize
(MemorySegment segment, long index, int value) SetsheaderSize
with the given value at the given index.int
ReturnsheaderVersion
.headerVersion
(int value) SetsheaderVersion
with the given value.static int
headerVersion
(MemorySegment segment, long index) ReturnsheaderVersion
at the given index.static void
headerVersion
(MemorySegment segment, long index, int value) SetsheaderVersion
with the given value at the given index.of
(MemorySegment segment) CreatesVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment.ofNative
(MemorySegment segment) CreatesVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment.ReturnspipelineCacheUUID
.byte
pipelineCacheUUID
(long index0) ReturnspipelineCacheUUID
.pipelineCacheUUID
(long index0, byte value) SetspipelineCacheUUID
with the given value.pipelineCacheUUID
(MemorySegment value) SetspipelineCacheUUID
with the given value.static MemorySegment
pipelineCacheUUID
(MemorySegment segment, long index) ReturnspipelineCacheUUID
at the given index.static byte
pipelineCacheUUID
(MemorySegment segment, long index, long index0) ReturnspipelineCacheUUID
at the given index.static void
pipelineCacheUUID
(MemorySegment segment, long index, long index0, byte value) SetspipelineCacheUUID
with the given value at the given index.static void
pipelineCacheUUID
(MemorySegment segment, long index, MemorySegment value) SetspipelineCacheUUID
with the given value at the given index.int
vendorID()
ReturnsvendorID
.vendorID
(int value) SetsvendorID
with the given value.static int
vendorID
(MemorySegment segment, long index) ReturnsvendorID
at the given index.static void
vendorID
(MemorySegment segment, long index, int value) SetsvendorID
with the given value at the given index.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkDeviceFaultVendorBinaryHeaderVersionOneEXT
. -
OFFSET_headerSize
public static final long OFFSET_headerSizeThe byte offset ofheaderSize
. -
LAYOUT_headerSize
The memory layout ofheaderSize
. -
VH_headerSize
-
OFFSET_headerVersion
public static final long OFFSET_headerVersionThe byte offset ofheaderVersion
. -
LAYOUT_headerVersion
The memory layout ofheaderVersion
. -
VH_headerVersion
-
OFFSET_vendorID
public static final long OFFSET_vendorIDThe byte offset ofvendorID
. -
LAYOUT_vendorID
The memory layout ofvendorID
. -
VH_vendorID
-
OFFSET_deviceID
public static final long OFFSET_deviceIDThe byte offset ofdeviceID
. -
LAYOUT_deviceID
The memory layout ofdeviceID
. -
VH_deviceID
-
OFFSET_driverVersion
public static final long OFFSET_driverVersionThe byte offset ofdriverVersion
. -
LAYOUT_driverVersion
The memory layout ofdriverVersion
. -
VH_driverVersion
-
OFFSET_pipelineCacheUUID
public static final long OFFSET_pipelineCacheUUIDThe byte offset ofpipelineCacheUUID
. -
LAYOUT_pipelineCacheUUID
The memory layout ofpipelineCacheUUID
. -
VH_pipelineCacheUUID
-
OFFSET_applicationNameOffset
public static final long OFFSET_applicationNameOffsetThe byte offset ofapplicationNameOffset
. -
LAYOUT_applicationNameOffset
The memory layout ofapplicationNameOffset
. -
VH_applicationNameOffset
-
OFFSET_applicationVersion
public static final long OFFSET_applicationVersionThe byte offset ofapplicationVersion
. -
LAYOUT_applicationVersion
The memory layout ofapplicationVersion
. -
VH_applicationVersion
-
OFFSET_engineNameOffset
public static final long OFFSET_engineNameOffsetThe byte offset ofengineNameOffset
. -
LAYOUT_engineNameOffset
The memory layout ofengineNameOffset
. -
VH_engineNameOffset
-
OFFSET_engineVersion
public static final long OFFSET_engineVersionThe byte offset ofengineVersion
. -
LAYOUT_engineVersion
The memory layout ofengineVersion
. -
VH_engineVersion
-
OFFSET_apiVersion
public static final long OFFSET_apiVersionThe byte offset ofapiVersion
. -
LAYOUT_apiVersion
The memory layout ofapiVersion
. -
VH_apiVersion
-
-
Constructor Details
-
VkDeviceFaultVendorBinaryHeaderVersionOneEXT
CreatesVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
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 isNULL
-
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 segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkDeviceFaultVendorBinaryHeaderVersionOneEXT
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 aVkDeviceFaultVendorBinaryHeaderVersionOneEXT
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkDeviceFaultVendorBinaryHeaderVersionOneEXT
-
copyFrom
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT copyFrom(VkDeviceFaultVendorBinaryHeaderVersionOneEXT src) Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
headerSize
ReturnsheaderSize
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
headerSize
at the given index
-
headerSize
public int headerSize()ReturnsheaderSize
.- Returns:
headerSize
-
headerSize
SetsheaderSize
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
headerSize
SetsheaderSize
with the given value.- Parameters:
value
- the value- Returns:
this
-
headerVersion
ReturnsheaderVersion
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
headerVersion
at the given index
-
headerVersion
public int headerVersion()ReturnsheaderVersion
.- Returns:
headerVersion
-
headerVersion
SetsheaderVersion
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
headerVersion
SetsheaderVersion
with the given value.- Parameters:
value
- the value- Returns:
this
-
vendorID
ReturnsvendorID
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
vendorID
at the given index
-
vendorID
public int vendorID()ReturnsvendorID
.- Returns:
vendorID
-
vendorID
SetsvendorID
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
vendorID
SetsvendorID
with the given value.- Parameters:
value
- the value- Returns:
this
-
deviceID
ReturnsdeviceID
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
deviceID
at the given index
-
deviceID
public int deviceID()ReturnsdeviceID
.- Returns:
deviceID
-
deviceID
SetsdeviceID
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
deviceID
SetsdeviceID
with the given value.- Parameters:
value
- the value- Returns:
this
-
driverVersion
ReturnsdriverVersion
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
driverVersion
at the given index
-
driverVersion
public int driverVersion()ReturnsdriverVersion
.- Returns:
driverVersion
-
driverVersion
SetsdriverVersion
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
driverVersion
SetsdriverVersion
with the given value.- Parameters:
value
- the value- Returns:
this
-
pipelineCacheUUID
ReturnspipelineCacheUUID
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pipelineCacheUUID
at the given index
-
pipelineCacheUUID
ReturnspipelineCacheUUID
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
pipelineCacheUUID
at the given index
-
pipelineCacheUUID
-
pipelineCacheUUID
public byte pipelineCacheUUID(long index0) ReturnspipelineCacheUUID
.- Parameters:
index0
- the Index 0 of the array- Returns:
pipelineCacheUUID
-
pipelineCacheUUID
SetspipelineCacheUUID
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pipelineCacheUUID
SetspipelineCacheUUID
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value
-
pipelineCacheUUID
SetspipelineCacheUUID
with the given value.- Parameters:
value
- the value- Returns:
this
-
pipelineCacheUUID
SetspipelineCacheUUID
with the given value.- Parameters:
index0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-
applicationNameOffset
ReturnsapplicationNameOffset
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
applicationNameOffset
at the given index
-
applicationNameOffset
public int applicationNameOffset()ReturnsapplicationNameOffset
.- Returns:
applicationNameOffset
-
applicationNameOffset
SetsapplicationNameOffset
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
applicationNameOffset
SetsapplicationNameOffset
with the given value.- Parameters:
value
- the value- Returns:
this
-
applicationVersion
ReturnsapplicationVersion
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
applicationVersion
at the given index
-
applicationVersion
public int applicationVersion()ReturnsapplicationVersion
.- Returns:
applicationVersion
-
applicationVersion
SetsapplicationVersion
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
applicationVersion
SetsapplicationVersion
with the given value.- Parameters:
value
- the value- Returns:
this
-
engineNameOffset
ReturnsengineNameOffset
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
engineNameOffset
at the given index
-
engineNameOffset
public int engineNameOffset()ReturnsengineNameOffset
.- Returns:
engineNameOffset
-
engineNameOffset
SetsengineNameOffset
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
engineNameOffset
SetsengineNameOffset
with the given value.- Parameters:
value
- the value- Returns:
this
-
engineVersion
ReturnsengineVersion
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
engineVersion
at the given index
-
engineVersion
public int engineVersion()ReturnsengineVersion
.- Returns:
engineVersion
-
engineVersion
SetsengineVersion
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
engineVersion
SetsengineVersion
with the given value.- Parameters:
value
- the value- Returns:
this
-
apiVersion
ReturnsapiVersion
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
apiVersion
at the given index
-
apiVersion
public int apiVersion()ReturnsapiVersion
.- Returns:
apiVersion
-
apiVersion
SetsapiVersion
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
apiVersion
SetsapiVersion
with the given value.- Parameters:
value
- the value- Returns:
this
-