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 classAn array ofVkDeviceFaultVendorBinaryHeaderVersionOneEXTstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintapiVersion(int value) Sets the specified value to theapiVersionfield.intapplicationNameOffset(int value) Sets the specified value to theapplicationNameOffsetfield.intapplicationVersion(int value) Sets the specified value to theapplicationVersionfield.calloc()Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance for the specified memory address.create(long address, int capacity) Create aVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance at the specified memory.static @Nullable VkDeviceFaultVendorBinaryHeaderVersionOneEXTcreateSafe(long address) static @Nullable VkDeviceFaultVendorBinaryHeaderVersionOneEXT.BuffercreateSafe(long address, int capacity) intdeviceID()deviceID(int value) Sets the specified value to thedeviceIDfield.intdriverVersion(int value) Sets the specified value to thedriverVersionfield.intengineNameOffset(int value) Sets the specified value to theengineNameOffsetfield.intengineVersion(int value) Sets the specified value to theengineVersionfield.intheaderSize(int value) Sets the specified value to theheaderSizefield.intheaderVersion(int value) Sets the specified value to theheaderVersionfield.malloc()Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated on the specifiedMemoryStack.static intnapiVersion(long struct) Unsafe version ofapiVersion().static voidnapiVersion(long struct, int value) Unsafe version ofapiVersion.static intnapplicationNameOffset(long struct) Unsafe version ofapplicationNameOffset().static voidnapplicationNameOffset(long struct, int value) Unsafe version ofapplicationNameOffset.static intnapplicationVersion(long struct) Unsafe version ofapplicationVersion().static voidnapplicationVersion(long struct, int value) Unsafe version ofapplicationVersion.static intndeviceID(long struct) Unsafe version ofdeviceID().static voidndeviceID(long struct, int value) Unsafe version ofdeviceID.static intndriverVersion(long struct) Unsafe version ofdriverVersion().static voidndriverVersion(long struct, int value) Unsafe version ofdriverVersion.static intnengineNameOffset(long struct) Unsafe version ofengineNameOffset().static voidnengineNameOffset(long struct, int value) Unsafe version ofengineNameOffset.static intnengineVersion(long struct) Unsafe version ofengineVersion().static voidnengineVersion(long struct, int value) Unsafe version ofengineVersion.static intnheaderSize(long struct) Unsafe version ofheaderSize().static voidnheaderSize(long struct, int value) Unsafe version ofheaderSize.static intnheaderVersion(long struct) Unsafe version ofheaderVersion().static voidnheaderVersion(long struct, int value) Unsafe version ofheaderVersion.static ByteBuffernpipelineCacheUUID(long struct) Unsafe version ofpipelineCacheUUID().static bytenpipelineCacheUUID(long struct, int index) Unsafe version ofpipelineCacheUUID.static voidnpipelineCacheUUID(long struct, int index, byte value) Unsafe version ofpipelineCacheUUID.static voidnpipelineCacheUUID(long struct, ByteBuffer value) Unsafe version ofpipelineCacheUUID.static intnvendorID(long struct) Unsafe version ofvendorID().static voidnvendorID(long struct, int value) Unsafe version ofvendorID.bytepipelineCacheUUID(int index) pipelineCacheUUID(int index, byte value) Sets the specified value at the specified index of thepipelineCacheUUIDfield.pipelineCacheUUID(ByteBuffer value) Copies the specifiedByteBufferto thepipelineCacheUUIDfield.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.intsizeof()Returnssizeof(struct).intvendorID()vendorID(int value) Sets the specified value to thevendorIDfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkDeviceFaultVendorBinaryHeaderVersionOneEXT>
-
headerSize
public int headerSize()- Returns:
- the value of the
headerSizefield.
-
headerVersion
public int headerVersion()- Returns:
- the value of the
headerVersionfield.
-
vendorID
public int vendorID()- Returns:
- the value of the
vendorIDfield.
-
deviceID
public int deviceID()- Returns:
- the value of the
deviceIDfield.
-
driverVersion
public int driverVersion()- Returns:
- the value of the
driverVersionfield.
-
pipelineCacheUUID
- Returns:
- a
ByteBufferview of thepipelineCacheUUIDfield.
-
pipelineCacheUUID
public byte pipelineCacheUUID(int index) - Returns:
- the value at the specified index of the
pipelineCacheUUIDfield.
-
applicationNameOffset
public int applicationNameOffset()- Returns:
- the value of the
applicationNameOffsetfield.
-
applicationVersion
public int applicationVersion()- Returns:
- the value of the
applicationVersionfield.
-
engineNameOffset
public int engineNameOffset()- Returns:
- the value of the
engineNameOffsetfield.
-
engineVersion
public int engineVersion()- Returns:
- the value of the
engineVersionfield.
-
apiVersion
public int apiVersion()- Returns:
- the value of the
apiVersionfield.
-
headerSize
Sets the specified value to theheaderSizefield. -
headerVersion
Sets the specified value to theheaderVersionfield. -
vendorID
Sets the specified value to thevendorIDfield. -
deviceID
Sets the specified value to thedeviceIDfield. -
driverVersion
Sets the specified value to thedriverVersionfield. -
pipelineCacheUUID
Copies the specifiedByteBufferto thepipelineCacheUUIDfield. -
pipelineCacheUUID
Sets the specified value at the specified index of thepipelineCacheUUIDfield. -
applicationNameOffset
Sets the specified value to theapplicationNameOffsetfield. -
applicationVersion
Sets the specified value to theapplicationVersionfield. -
engineNameOffset
Sets the specified value to theengineNameOffsetfield. -
engineVersion
Sets the specified value to theengineVersionfield. -
apiVersion
Sets the specified value to theapiVersionfield. -
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 newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated withBufferUtils. -
create
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer create(long address, int capacity) Create aVkDeviceFaultVendorBinaryHeaderVersionOneEXT.Bufferinstance 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 newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkDeviceFaultVendorBinaryHeaderVersionOneEXTinstance allocated on the specifiedMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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.
-