Class VkDeviceFaultVendorInfoEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkDeviceFaultVendorInfoEXT
- All Implemented Interfaces:
Addressable
Layout
struct VkDeviceFaultVendorInfoEXT {
char description[256];
uint64_t vendorFaultCode;
uint64_t vendorFaultData;
};
-
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, long elementCount) CreatesVkDeviceFaultVendorInfoEXT
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkDeviceFaultVendorInfoEXT
alloc
(SegmentAllocator allocator) Allocates aVkDeviceFaultVendorInfoEXT
with the given segment allocator.static VkDeviceFaultVendorInfoEXT
alloc
(SegmentAllocator allocator, long count) Allocates aVkDeviceFaultVendorInfoEXT
with the given segment allocator and count.asSlice
(long index) Creates a slice ofVkDeviceFaultVendorInfoEXT
.asSlice
(long index, long count) Creates a slice ofVkDeviceFaultVendorInfoEXT
.at
(long index, Consumer<VkDeviceFaultVendorInfoEXT> func) VisitsVkDeviceFaultVendorInfoEXT
buffer at the given index.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.descriptionAt
(long index) Returnsdescription
at the given index.byte
descriptionAt
(long index, long index0) Returnsdescription
at the given index.descriptionAt
(long index, long index0, byte value) Setsdescription
with the given value at the given index.descriptionAt
(long index, MemorySegment value) Setsdescription
with the given value at the given index.static VkDeviceFaultVendorInfoEXT
of
(MemorySegment segment) CreatesVkDeviceFaultVendorInfoEXT
with the given segment.static VkDeviceFaultVendorInfoEXT
ofNative
(MemorySegment segment) CreatesVkDeviceFaultVendorInfoEXT
with the given segment.static VkDeviceFaultVendorInfoEXT
ofNative
(MemorySegment segment, long count) CreatesVkDeviceFaultVendorInfoEXT
with the given segment.reinterpret
(long count) Reinterprets this buffer with the given count.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
vendorFaultCodeAt
(long index) ReturnsvendorFaultCode
at the given index.vendorFaultCodeAt
(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.long
vendorFaultDataAt
(long index) ReturnsvendorFaultData
at the given index.vendorFaultDataAt
(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 segmentelementCount
- the element count of this struct buffer
-
-
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
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count
- the new count- Returns:
- the reinterpreted 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
-
asSlice
Creates a slice ofVkDeviceFaultVendorInfoEXT
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkDeviceFaultVendorInfoEXT
-
asSlice
Creates a slice ofVkDeviceFaultVendorInfoEXT
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkDeviceFaultVendorInfoEXT
-
at
VisitsVkDeviceFaultVendorInfoEXT
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-
descriptionAt
Returnsdescription
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
description
at the given index
-
descriptionAt
public byte descriptionAt(long index, long index0) Returnsdescription
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
description
at the given index
-
descriptionAt
Setsdescription
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
descriptionAt
Setsdescription
with the given value at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-
vendorFaultCodeAt
public long vendorFaultCodeAt(long index) ReturnsvendorFaultCode
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
vendorFaultCode
at the given index
-
vendorFaultCodeAt
SetsvendorFaultCode
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
vendorFaultDataAt
public long vendorFaultDataAt(long index) ReturnsvendorFaultData
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
vendorFaultData
at the given index
-
vendorFaultDataAt
SetsvendorFaultData
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-