Class VkDeviceFaultVendorInfoEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkDeviceFaultVendorInfoEXT
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkDeviceFaultVendorInfoEXT.Buffer
public sealed class VkDeviceFaultVendorInfoEXT
extends GroupType
permits VkDeviceFaultVendorInfoEXT.Buffer
Layout
struct VkDeviceFaultVendorInfoEXT {
char description[256];
uint64_t vendorFaultCode;
uint64_t vendorFaultData;
};
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkDeviceFaultVendorInfoEXT
.static final MemoryLayout
The memory layout ofdescription
.static final MemoryLayout
The memory layout ofvendorFaultCode
.static final MemoryLayout
The memory layout ofvendorFaultData
.static final long
The byte offset ofdescription
.static final long
The byte offset ofvendorFaultCode
.static final long
The byte offset ofvendorFaultData
.static final VarHandle
TheVarHandle
ofdescription
of type(MemorySegment base, long baseOffset, long index, long index0)MemorySegment
.static final VarHandle
TheVarHandle
ofvendorFaultCode
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofvendorFaultData
of type(MemorySegment base, long baseOffset, long index)MemorySegment
. -
Constructor Summary
ConstructorsConstructorDescriptionVkDeviceFaultVendorInfoEXT
(MemorySegment segment) CreatesVkDeviceFaultVendorInfoEXT
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkDeviceFaultVendorInfoEXT
alloc
(SegmentAllocator allocator) Allocates aVkDeviceFaultVendorInfoEXT
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkDeviceFaultVendorInfoEXT
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.Copies from the given source.Returnsdescription
.byte
description
(long index0) Returnsdescription
.description
(long index0, byte value) Setsdescription
with the given value.description
(MemorySegment value) Setsdescription
with the given value.static MemorySegment
description
(MemorySegment segment, long index) Returnsdescription
at the given index.static byte
description
(MemorySegment segment, long index, long index0) Returnsdescription
at the given index.static void
description
(MemorySegment segment, long index, long index0, byte value) Setsdescription
with the given value at the given index.static void
description
(MemorySegment segment, long index, MemorySegment value) Setsdescription
with the given value at the given index.of
(MemorySegment segment) CreatesVkDeviceFaultVendorInfoEXT
with the given segment.static VkDeviceFaultVendorInfoEXT
ofNative
(MemorySegment segment) CreatesVkDeviceFaultVendorInfoEXT
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkDeviceFaultVendorInfoEXT
with the given segment.long
ReturnsvendorFaultCode
.vendorFaultCode
(long value) SetsvendorFaultCode
with the given value.static long
vendorFaultCode
(MemorySegment segment, long index) ReturnsvendorFaultCode
at the given index.static void
vendorFaultCode
(MemorySegment segment, long index, long value) SetsvendorFaultCode
with the given value at the given index.long
ReturnsvendorFaultData
.vendorFaultData
(long value) SetsvendorFaultData
with the given value.static long
vendorFaultData
(MemorySegment segment, long index) ReturnsvendorFaultData
at the given index.static void
vendorFaultData
(MemorySegment segment, long index, long value) SetsvendorFaultData
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 ofVkDeviceFaultVendorInfoEXT
. -
OFFSET_description
public static final long OFFSET_descriptionThe byte offset ofdescription
. -
LAYOUT_description
The memory layout ofdescription
. -
VH_description
-
OFFSET_vendorFaultCode
public static final long OFFSET_vendorFaultCodeThe byte offset ofvendorFaultCode
. -
LAYOUT_vendorFaultCode
The memory layout ofvendorFaultCode
. -
VH_vendorFaultCode
-
OFFSET_vendorFaultData
public static final long OFFSET_vendorFaultDataThe byte offset ofvendorFaultData
. -
LAYOUT_vendorFaultData
The memory layout ofvendorFaultData
. -
VH_vendorFaultData
-
-
Constructor Details
-
VkDeviceFaultVendorInfoEXT
CreatesVkDeviceFaultVendorInfoEXT
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkDeviceFaultVendorInfoEXT
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkDeviceFaultVendorInfoEXT
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
Creates
VkDeviceFaultVendorInfoEXT
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 aVkDeviceFaultVendorInfoEXT
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkDeviceFaultVendorInfoEXT
-
alloc
Allocates aVkDeviceFaultVendorInfoEXT
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkDeviceFaultVendorInfoEXT
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
description
Returnsdescription
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
description
at the given index
-
description
Returnsdescription
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
description
at the given index
-
description
-
description
public byte description(long index0) Returnsdescription
.- Parameters:
index0
- the Index 0 of the array- Returns:
description
-
description
Setsdescription
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
description
Setsdescription
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
-
description
Setsdescription
with the given value.- Parameters:
value
- the value- Returns:
this
-
description
Setsdescription
with the given value.- Parameters:
index0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-
vendorFaultCode
ReturnsvendorFaultCode
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
vendorFaultCode
at the given index
-
vendorFaultCode
public long vendorFaultCode()ReturnsvendorFaultCode
.- Returns:
vendorFaultCode
-
vendorFaultCode
SetsvendorFaultCode
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
vendorFaultCode
SetsvendorFaultCode
with the given value.- Parameters:
value
- the value- Returns:
this
-
vendorFaultData
ReturnsvendorFaultData
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
vendorFaultData
at the given index
-
vendorFaultData
public long vendorFaultData()ReturnsvendorFaultData
.- Returns:
vendorFaultData
-
vendorFaultData
SetsvendorFaultData
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
vendorFaultData
SetsvendorFaultData
with the given value.- Parameters:
value
- the value- Returns:
this
-