Class VkDeviceFaultVendorInfoEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkDeviceFaultVendorInfoEXT
- All Implemented Interfaces:
Addressable
Represents VkDeviceFaultVendorInfoEXT.
Layout
struct VkDeviceFaultVendorInfoEXT {
char description[256];
uint64_t vendorFaultCode;
uint64_t vendorFaultData;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkDeviceFaultVendorInfoEXT.static final MemoryLayoutThe memory layout ofdescription.static final MemoryLayoutThe memory layout ofvendorFaultCode.static final MemoryLayoutThe memory layout ofvendorFaultData.static final longThe byte offset ofdescription.static final longThe byte offset ofvendorFaultCode.static final longThe byte offset ofvendorFaultData.static final VarHandleTheVarHandleofdescriptionof type(MemorySegment base, long baseOffset, long index, long index0)MemorySegment.static final VarHandleTheVarHandleofvendorFaultCodeof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofvendorFaultDataof type(MemorySegment base, long baseOffset, long index)MemorySegment. -
Constructor Summary
ConstructorsConstructorDescriptionVkDeviceFaultVendorInfoEXT(MemorySegment segment, long elementCount) CreatesVkDeviceFaultVendorInfoEXTwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkDeviceFaultVendorInfoEXTalloc(SegmentAllocator allocator) Allocates aVkDeviceFaultVendorInfoEXTwith the given segment allocator.static VkDeviceFaultVendorInfoEXTalloc(SegmentAllocator allocator, long count) Allocates aVkDeviceFaultVendorInfoEXTwith 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) VisitsVkDeviceFaultVendorInfoEXTbuffer at the given index.Copies from the given source.Returnsdescription.bytedescription(long index0) Returnsdescription.description(long index0, byte value) Setsdescriptionwith the given value.description(MemorySegment value) Setsdescriptionwith the given value.static MemorySegmentdescription(MemorySegment segment, long index) Returnsdescriptionat the given index.static bytedescription(MemorySegment segment, long index, long index0) Returnsdescriptionat the given index.static voiddescription(MemorySegment segment, long index, long index0, byte value) Setsdescriptionwith the given value at the given index.static voiddescription(MemorySegment segment, long index, MemorySegment value) Setsdescriptionwith the given value at the given index.descriptionAt(long index) Returnsdescriptionat the given index.bytedescriptionAt(long index, long index0) Returnsdescriptionat the given index.descriptionAt(long index, long index0, byte value) Setsdescriptionwith the given value at the given index.descriptionAt(long index, MemorySegment value) Setsdescriptionwith the given value at the given index.static VkDeviceFaultVendorInfoEXTof(MemorySegment segment) CreatesVkDeviceFaultVendorInfoEXTwith the given segment.static VkDeviceFaultVendorInfoEXTofNative(MemorySegment segment) CreatesVkDeviceFaultVendorInfoEXTwith the given segment.static VkDeviceFaultVendorInfoEXTofNative(MemorySegment segment, long count) CreatesVkDeviceFaultVendorInfoEXTwith the given segment.reinterpret(long count) Reinterprets this buffer with the given count.longReturnsvendorFaultCode.vendorFaultCode(long value) SetsvendorFaultCodewith the given value.static longvendorFaultCode(MemorySegment segment, long index) ReturnsvendorFaultCodeat the given index.static voidvendorFaultCode(MemorySegment segment, long index, long value) SetsvendorFaultCodewith the given value at the given index.longvendorFaultCodeAt(long index) ReturnsvendorFaultCodeat the given index.vendorFaultCodeAt(long index, long value) SetsvendorFaultCodewith the given value at the given index.longReturnsvendorFaultData.vendorFaultData(long value) SetsvendorFaultDatawith the given value.static longvendorFaultData(MemorySegment segment, long index) ReturnsvendorFaultDataat the given index.static voidvendorFaultData(MemorySegment segment, long index, long value) SetsvendorFaultDatawith the given value at the given index.longvendorFaultDataAt(long index) ReturnsvendorFaultDataat the given index.vendorFaultDataAt(long index, long value) SetsvendorFaultDatawith the given value at the given index.Methods inherited from class 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
CreatesVkDeviceFaultVendorInfoEXTwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkDeviceFaultVendorInfoEXTwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkDeviceFaultVendorInfoEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkDeviceFaultVendorInfoEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkDeviceFaultVendorInfoEXTwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkDeviceFaultVendorInfoEXT
-
alloc
Allocates aVkDeviceFaultVendorInfoEXTwith 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
Returnsdescriptionat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
descriptionat the given index
-
description
Returnsdescriptionat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct bufferindex0- the Index 0 of the array- Returns:
descriptionat the given index
-
description
-
description
public byte description(long index0) Returnsdescription.- Parameters:
index0- the Index 0 of the array- Returns:
description
-
description
Setsdescriptionwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
description
Setsdescriptionwith 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
Setsdescriptionwith the given value.- Parameters:
value- the value- Returns:
this
-
description
Setsdescriptionwith the given value.- Parameters:
index0- the Index 0 of the arrayvalue- the value- Returns:
this
-
vendorFaultCode
ReturnsvendorFaultCodeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
vendorFaultCodeat the given index
-
vendorFaultCode
public long vendorFaultCode()ReturnsvendorFaultCode.- Returns:
vendorFaultCode
-
vendorFaultCode
SetsvendorFaultCodewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
vendorFaultCode
SetsvendorFaultCodewith the given value.- Parameters:
value- the value- Returns:
this
-
vendorFaultData
ReturnsvendorFaultDataat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
vendorFaultDataat the given index
-
vendorFaultData
public long vendorFaultData()ReturnsvendorFaultData.- Returns:
vendorFaultData
-
vendorFaultData
SetsvendorFaultDatawith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
vendorFaultData
SetsvendorFaultDatawith 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
VisitsVkDeviceFaultVendorInfoEXTbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
descriptionAt
Returnsdescriptionat the given index.- Parameters:
index- the index of the struct buffer- Returns:
descriptionat the given index
-
descriptionAt
public byte descriptionAt(long index, long index0) Returnsdescriptionat the given index.- Parameters:
index- the index of the struct bufferindex0- the Index 0 of the array- Returns:
descriptionat the given index
-
descriptionAt
Setsdescriptionwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
descriptionAt
Setsdescriptionwith 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) ReturnsvendorFaultCodeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
vendorFaultCodeat the given index
-
vendorFaultCodeAt
SetsvendorFaultCodewith 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) ReturnsvendorFaultDataat the given index.- Parameters:
index- the index of the struct buffer- Returns:
vendorFaultDataat the given index
-
vendorFaultDataAt
SetsvendorFaultDatawith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-