Package org.lwjgl.vulkan
Class VkDeviceFaultVendorBinaryHeaderVersionOneEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDeviceFaultVendorBinaryHeaderVersionOneEXT>
org.lwjgl.vulkan.VkDeviceFaultVendorBinaryHeaderVersionOneEXT
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkDeviceFaultVendorBinaryHeaderVersionOneEXT
extends Struct<VkDeviceFaultVendorBinaryHeaderVersionOneEXT>
implements NativeResource
struct VkDeviceFaultVendorBinaryHeaderVersionOneEXT {
uint32_t headerSize;
VkDeviceFaultVendorBinaryHeaderVersionEXT headerVersion;
uint32_t vendorID;
uint32_t deviceID;
uint32_t driverVersion;
uint8_t pipelineCacheUUID[VK_UUID_SIZE];
uint32_t applicationNameOffset;
uint32_t applicationVersion;
uint32_t engineNameOffset;
uint32_t engineVersion;
uint32_t apiVersion;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkDeviceFaultVendorBinaryHeaderVersionOneEXT
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionint
apiVersion
(int value) Sets the specified value to theapiVersion
field.int
applicationNameOffset
(int value) Sets the specified value to theapplicationNameOffset
field.int
applicationVersion
(int value) Sets the specified value to theapplicationVersion
field.calloc()
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance for the specified memory address.create
(long address, int capacity) Create aVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance at the specified memory.static @Nullable VkDeviceFaultVendorBinaryHeaderVersionOneEXT
createSafe
(long address) static @Nullable VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
createSafe
(long address, int capacity) int
deviceID()
deviceID
(int value) Sets the specified value to thedeviceID
field.int
driverVersion
(int value) Sets the specified value to thedriverVersion
field.int
engineNameOffset
(int value) Sets the specified value to theengineNameOffset
field.int
engineVersion
(int value) Sets the specified value to theengineVersion
field.int
headerSize
(int value) Sets the specified value to theheaderSize
field.int
headerVersion
(int value) Sets the specified value to theheaderVersion
field.malloc()
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated on the specifiedMemoryStack
.static int
napiVersion
(long struct) Unsafe version ofapiVersion()
.static void
napiVersion
(long struct, int value) Unsafe version ofapiVersion
.static int
napplicationNameOffset
(long struct) Unsafe version ofapplicationNameOffset()
.static void
napplicationNameOffset
(long struct, int value) Unsafe version ofapplicationNameOffset
.static int
napplicationVersion
(long struct) Unsafe version ofapplicationVersion()
.static void
napplicationVersion
(long struct, int value) Unsafe version ofapplicationVersion
.static int
ndeviceID
(long struct) Unsafe version ofdeviceID()
.static void
ndeviceID
(long struct, int value) Unsafe version ofdeviceID
.static int
ndriverVersion
(long struct) Unsafe version ofdriverVersion()
.static void
ndriverVersion
(long struct, int value) Unsafe version ofdriverVersion
.static int
nengineNameOffset
(long struct) Unsafe version ofengineNameOffset()
.static void
nengineNameOffset
(long struct, int value) Unsafe version ofengineNameOffset
.static int
nengineVersion
(long struct) Unsafe version ofengineVersion()
.static void
nengineVersion
(long struct, int value) Unsafe version ofengineVersion
.static int
nheaderSize
(long struct) Unsafe version ofheaderSize()
.static void
nheaderSize
(long struct, int value) Unsafe version ofheaderSize
.static int
nheaderVersion
(long struct) Unsafe version ofheaderVersion()
.static void
nheaderVersion
(long struct, int value) Unsafe version ofheaderVersion
.static ByteBuffer
npipelineCacheUUID
(long struct) Unsafe version ofpipelineCacheUUID()
.static byte
npipelineCacheUUID
(long struct, int index) Unsafe version ofpipelineCacheUUID
.static void
npipelineCacheUUID
(long struct, int index, byte value) Unsafe version ofpipelineCacheUUID
.static void
npipelineCacheUUID
(long struct, ByteBuffer value) Unsafe version ofpipelineCacheUUID
.static int
nvendorID
(long struct) Unsafe version ofvendorID()
.static void
nvendorID
(long struct, int value) Unsafe version ofvendorID
.byte
pipelineCacheUUID
(int index) pipelineCacheUUID
(int index, byte value) Sets the specified value at the specified index of thepipelineCacheUUID
field.pipelineCacheUUID
(ByteBuffer value) Copies the specifiedByteBuffer
to thepipelineCacheUUID
field.set
(int headerSize, int headerVersion, int vendorID, int deviceID, int driverVersion, ByteBuffer pipelineCacheUUID, int applicationNameOffset, int applicationVersion, int engineNameOffset, int engineVersion, int apiVersion) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
vendorID()
vendorID
(int value) Sets the specified value to thevendorID
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
HEADERSIZE
public static final int HEADERSIZEThe struct member offsets. -
HEADERVERSION
public static final int HEADERVERSIONThe struct member offsets. -
VENDORID
public static final int VENDORIDThe struct member offsets. -
DEVICEID
public static final int DEVICEIDThe struct member offsets. -
DRIVERVERSION
public static final int DRIVERVERSIONThe struct member offsets. -
PIPELINECACHEUUID
public static final int PIPELINECACHEUUIDThe struct member offsets. -
APPLICATIONNAMEOFFSET
public static final int APPLICATIONNAMEOFFSETThe struct member offsets. -
APPLICATIONVERSION
public static final int APPLICATIONVERSIONThe struct member offsets. -
ENGINENAMEOFFSET
public static final int ENGINENAMEOFFSETThe struct member offsets. -
ENGINEVERSION
public static final int ENGINEVERSIONThe struct member offsets. -
APIVERSION
public static final int APIVERSIONThe struct member offsets.
-
-
Constructor Details
-
VkDeviceFaultVendorBinaryHeaderVersionOneEXT
Creates aVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkDeviceFaultVendorBinaryHeaderVersionOneEXT>
-
headerSize
public int headerSize()- Returns:
- the value of the
headerSize
field.
-
headerVersion
public int headerVersion()- Returns:
- the value of the
headerVersion
field.
-
vendorID
public int vendorID()- Returns:
- the value of the
vendorID
field.
-
deviceID
public int deviceID()- Returns:
- the value of the
deviceID
field.
-
driverVersion
public int driverVersion()- Returns:
- the value of the
driverVersion
field.
-
pipelineCacheUUID
- Returns:
- a
ByteBuffer
view of thepipelineCacheUUID
field.
-
pipelineCacheUUID
public byte pipelineCacheUUID(int index) - Returns:
- the value at the specified index of the
pipelineCacheUUID
field.
-
applicationNameOffset
public int applicationNameOffset()- Returns:
- the value of the
applicationNameOffset
field.
-
applicationVersion
public int applicationVersion()- Returns:
- the value of the
applicationVersion
field.
-
engineNameOffset
public int engineNameOffset()- Returns:
- the value of the
engineNameOffset
field.
-
engineVersion
public int engineVersion()- Returns:
- the value of the
engineVersion
field.
-
apiVersion
public int apiVersion()- Returns:
- the value of the
apiVersion
field.
-
headerSize
Sets the specified value to theheaderSize
field. -
headerVersion
Sets the specified value to theheaderVersion
field. -
vendorID
Sets the specified value to thevendorID
field. -
deviceID
Sets the specified value to thedeviceID
field. -
driverVersion
Sets the specified value to thedriverVersion
field. -
pipelineCacheUUID
Copies the specifiedByteBuffer
to thepipelineCacheUUID
field. -
pipelineCacheUUID
Sets the specified value at the specified index of thepipelineCacheUUID
field. -
applicationNameOffset
Sets the specified value to theapplicationNameOffset
field. -
applicationVersion
Sets the specified value to theapplicationVersion
field. -
engineNameOffset
Sets the specified value to theengineNameOffset
field. -
engineVersion
Sets the specified value to theengineVersion
field. -
apiVersion
Sets the specified value to theapiVersion
field. -
set
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT set(int headerSize, int headerVersion, int vendorID, int deviceID, int driverVersion, ByteBuffer pipelineCacheUUID, int applicationNameOffset, int applicationVersion, int engineNameOffset, int engineVersion, int apiVersion) Initializes this struct with the specified values. -
set
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT set(VkDeviceFaultVendorBinaryHeaderVersionOneEXT src) Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated withBufferUtils
. -
create
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer create(long address, int capacity) Create aVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nheaderSize
public static int nheaderSize(long struct) Unsafe version ofheaderSize()
. -
nheaderVersion
public static int nheaderVersion(long struct) Unsafe version ofheaderVersion()
. -
nvendorID
public static int nvendorID(long struct) Unsafe version ofvendorID()
. -
ndeviceID
public static int ndeviceID(long struct) Unsafe version ofdeviceID()
. -
ndriverVersion
public static int ndriverVersion(long struct) Unsafe version ofdriverVersion()
. -
npipelineCacheUUID
Unsafe version ofpipelineCacheUUID()
. -
npipelineCacheUUID
public static byte npipelineCacheUUID(long struct, int index) Unsafe version ofpipelineCacheUUID
. -
napplicationNameOffset
public static int napplicationNameOffset(long struct) Unsafe version ofapplicationNameOffset()
. -
napplicationVersion
public static int napplicationVersion(long struct) Unsafe version ofapplicationVersion()
. -
nengineNameOffset
public static int nengineNameOffset(long struct) Unsafe version ofengineNameOffset()
. -
nengineVersion
public static int nengineVersion(long struct) Unsafe version ofengineVersion()
. -
napiVersion
public static int napiVersion(long struct) Unsafe version ofapiVersion()
. -
nheaderSize
public static void nheaderSize(long struct, int value) Unsafe version ofheaderSize
. -
nheaderVersion
public static void nheaderVersion(long struct, int value) Unsafe version ofheaderVersion
. -
nvendorID
public static void nvendorID(long struct, int value) Unsafe version ofvendorID
. -
ndeviceID
public static void ndeviceID(long struct, int value) Unsafe version ofdeviceID
. -
ndriverVersion
public static void ndriverVersion(long struct, int value) Unsafe version ofdriverVersion
. -
npipelineCacheUUID
Unsafe version ofpipelineCacheUUID
. -
npipelineCacheUUID
public static void npipelineCacheUUID(long struct, int index, byte value) Unsafe version ofpipelineCacheUUID
. -
napplicationNameOffset
public static void napplicationNameOffset(long struct, int value) Unsafe version ofapplicationNameOffset
. -
napplicationVersion
public static void napplicationVersion(long struct, int value) Unsafe version ofapplicationVersion
. -
nengineNameOffset
public static void nengineNameOffset(long struct, int value) Unsafe version ofengineNameOffset
. -
nengineVersion
public static void nengineVersion(long struct, int value) Unsafe version ofengineVersion
. -
napiVersion
public static void napiVersion(long struct, int value) Unsafe version ofapiVersion
.
-