Record Class VkDeviceFaultVendorBinaryHeaderVersionOneEXT
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkDeviceFaultVendorBinaryHeaderVersionOneEXT
- All Implemented Interfaces:
IPointer
,IVkDeviceFaultVendorBinaryHeaderVersionOneEXT
@ValueBasedCandidate
@UnsafeConstructor
public record VkDeviceFaultVendorBinaryHeaderVersionOneEXT(@NotNull MemorySegment segment)
extends Record
implements IVkDeviceFaultVendorBinaryHeaderVersionOneEXT
Represents a pointer to a VkDeviceFaultVendorBinaryHeaderVersionOneEXT
structure in native memory.
Structure
typedef struct VkDeviceFaultVendorBinaryHeaderVersionOneEXT {
uint32_t headerSize
;
VkDeviceFaultVendorBinaryHeaderVersionEXT
headerVersion
;
uint32_t vendorID
;
uint32_t deviceID
;
uint32_t driverVersion
;
uint8_t[VK_UUID_SIZE] pipelineCacheUUID
;
uint32_t applicationNameOffset
;
uint32_t applicationVersion
;
uint32_t engineNameOffset
;
uint32_t engineVersion
;
uint32_t apiVersion
;
} VkDeviceFaultVendorBinaryHeaderVersionOneEXT;
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkDeviceFaultVendorBinaryHeaderVersionOneEXT
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final SequenceLayout
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkDeviceFaultVendorBinaryHeaderVersionOneEXT
(@NotNull MemorySegment segment) Creates an instance of aVkDeviceFaultVendorBinaryHeaderVersionOneEXT
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
apiVersion
(int value) int
applicationNameOffset
(int value) int
applicationVersion
(int value) clone
(Arena arena, VkDeviceFaultVendorBinaryHeaderVersionOneEXT src) int
deviceID()
deviceID
(int value) int
driverVersion
(int value) int
engineNameOffset
(int value) int
engineVersion
(int value) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
headerSize
(int value) int
headerVersion
(int value) pipelineCacheUUID
(BytePtr value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.int
vendorID()
vendorID
(int value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$headerSize
-
PATH$headerVersion
-
PATH$vendorID
-
PATH$deviceID
-
PATH$driverVersion
-
PATH$pipelineCacheUUID
-
PATH$applicationNameOffset
-
PATH$applicationVersion
-
PATH$engineNameOffset
-
PATH$engineVersion
-
PATH$apiVersion
-
LAYOUT$headerSize
-
LAYOUT$headerVersion
-
LAYOUT$vendorID
-
LAYOUT$deviceID
-
LAYOUT$driverVersion
-
LAYOUT$pipelineCacheUUID
-
LAYOUT$applicationNameOffset
-
LAYOUT$applicationVersion
-
LAYOUT$engineNameOffset
-
LAYOUT$engineVersion
-
LAYOUT$apiVersion
-
SIZE$headerSize
public static final long SIZE$headerSize -
SIZE$headerVersion
public static final long SIZE$headerVersion -
SIZE$vendorID
public static final long SIZE$vendorID -
SIZE$deviceID
public static final long SIZE$deviceID -
SIZE$driverVersion
public static final long SIZE$driverVersion -
SIZE$pipelineCacheUUID
public static final long SIZE$pipelineCacheUUID -
SIZE$applicationNameOffset
public static final long SIZE$applicationNameOffset -
SIZE$applicationVersion
public static final long SIZE$applicationVersion -
SIZE$engineNameOffset
public static final long SIZE$engineNameOffset -
SIZE$engineVersion
public static final long SIZE$engineVersion -
SIZE$apiVersion
public static final long SIZE$apiVersion -
OFFSET$headerSize
public static final long OFFSET$headerSize -
OFFSET$headerVersion
public static final long OFFSET$headerVersion -
OFFSET$vendorID
public static final long OFFSET$vendorID -
OFFSET$deviceID
public static final long OFFSET$deviceID -
OFFSET$driverVersion
public static final long OFFSET$driverVersion -
OFFSET$pipelineCacheUUID
public static final long OFFSET$pipelineCacheUUID -
OFFSET$applicationNameOffset
public static final long OFFSET$applicationNameOffset -
OFFSET$applicationVersion
public static final long OFFSET$applicationVersion -
OFFSET$engineNameOffset
public static final long OFFSET$engineNameOffset -
OFFSET$engineVersion
public static final long OFFSET$engineVersion -
OFFSET$apiVersion
public static final long OFFSET$apiVersion
-
-
Constructor Details
-
VkDeviceFaultVendorBinaryHeaderVersionOneEXT
Creates an instance of aVkDeviceFaultVendorBinaryHeaderVersionOneEXT
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT clone(Arena arena, VkDeviceFaultVendorBinaryHeaderVersionOneEXT src) -
headerSize
-
headerSize
-
headerVersion
-
headerVersion
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT headerVersion(@EnumType(VkDeviceFaultVendorBinaryHeaderVersionEXT.class) int value) -
vendorID
-
vendorID
-
deviceID
-
deviceID
-
driverVersion
-
driverVersion
-
pipelineCacheUUID
-
pipelineCacheUUID
-
pipelineCacheUUIDRaw
-
applicationNameOffset
-
applicationNameOffset
-
applicationVersion
-
applicationVersion
-
engineNameOffset
-
engineNameOffset
-
engineVersion
-
engineVersion
-
apiVersion
-
apiVersion
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-