Class VkDeviceFaultVendorBinaryHeaderVersionOneEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDeviceFaultVendorBinaryHeaderVersionOneKHR>
org.lwjgl.vulkan.VkDeviceFaultVendorBinaryHeaderVersionOneKHR
org.lwjgl.vulkan.VkDeviceFaultVendorBinaryHeaderVersionOneEXT
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
public class VkDeviceFaultVendorBinaryHeaderVersionOneEXT
extends VkDeviceFaultVendorBinaryHeaderVersionOneKHR
struct VkDeviceFaultVendorBinaryHeaderVersionOneEXT {
uint32_t headerSize;
VkDeviceFaultVendorBinaryHeaderVersionKHR 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 Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from class VkDeviceFaultVendorBinaryHeaderVersionOneKHR
ALIGNOF, APIVERSION, APPLICATIONNAMEOFFSET, APPLICATIONVERSION, DEVICEID, DRIVERVERSION, ENGINENAMEOFFSET, ENGINEVERSION, HEADERSIZE, HEADERVERSION, PIPELINECACHEUUID, SIZEOF, VENDORIDFields inherited from interface 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 TypeMethodDescriptionapiVersion(int value) Sets the specified value to theapiVersionfield.applicationNameOffset(int value) Sets the specified value to theapplicationNameOffsetfield.applicationVersion(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) deviceID(int value) Sets the specified value to thedeviceIDfield.driverVersion(int value) Sets the specified value to thedriverVersionfield.engineNameOffset(int value) Sets the specified value to theengineNameOffsetfield.engineVersion(int value) Sets the specified value to theengineVersionfield.headerSize(int value) Sets the specified value to theheaderSizefield.headerVersion(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.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.vendorID(int value) Sets the specified value to thevendorIDfield.Methods inherited from class VkDeviceFaultVendorBinaryHeaderVersionOneKHR
apiVersion, applicationNameOffset, applicationVersion, deviceID, driverVersion, engineNameOffset, engineVersion, headerSize, headerVersion, napiVersion, napiVersion, napplicationNameOffset, napplicationNameOffset, napplicationVersion, napplicationVersion, ndeviceID, ndeviceID, ndriverVersion, ndriverVersion, nengineNameOffset, nengineNameOffset, nengineVersion, nengineVersion, nheaderSize, nheaderSize, nheaderVersion, nheaderVersion, npipelineCacheUUID, npipelineCacheUUID, npipelineCacheUUID, npipelineCacheUUID, nvendorID, nvendorID, pipelineCacheUUID, pipelineCacheUUID, set, sizeof, vendorIDMethods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface NativeResource
close, free
-
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
-
headerSize
Sets the specified value to theheaderSizefield.- Overrides:
headerSizein classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
headerVersion
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT headerVersion(@NativeType("VkDeviceFaultVendorBinaryHeaderVersionKHR") int value) Sets the specified value to theheaderVersionfield.- Overrides:
headerVersionin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
vendorID
Sets the specified value to thevendorIDfield.- Overrides:
vendorIDin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
deviceID
Sets the specified value to thedeviceIDfield.- Overrides:
deviceIDin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
driverVersion
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT driverVersion(@NativeType("uint32_t") int value) Sets the specified value to thedriverVersionfield.- Overrides:
driverVersionin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
pipelineCacheUUID
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT pipelineCacheUUID(@NativeType("uint8_t[VK_UUID_SIZE]") ByteBuffer value) Copies the specifiedByteBufferto thepipelineCacheUUIDfield.- Overrides:
pipelineCacheUUIDin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
pipelineCacheUUID
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT pipelineCacheUUID(int index, @NativeType("uint8_t") byte value) Sets the specified value at the specified index of thepipelineCacheUUIDfield.- Overrides:
pipelineCacheUUIDin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
applicationNameOffset
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT applicationNameOffset(@NativeType("uint32_t") int value) Sets the specified value to theapplicationNameOffsetfield.- Overrides:
applicationNameOffsetin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
applicationVersion
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT applicationVersion(@NativeType("uint32_t") int value) Sets the specified value to theapplicationVersionfield.- Overrides:
applicationVersionin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
engineNameOffset
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT engineNameOffset(@NativeType("uint32_t") int value) Sets the specified value to theengineNameOffsetfield.- Overrides:
engineNameOffsetin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
engineVersion
public VkDeviceFaultVendorBinaryHeaderVersionOneEXT engineVersion(@NativeType("uint32_t") int value) Sets the specified value to theengineVersionfield.- Overrides:
engineVersionin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
apiVersion
Sets the specified value to theapiVersionfield.- Overrides:
apiVersionin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
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.- Overrides:
setin classVkDeviceFaultVendorBinaryHeaderVersionOneKHR
-
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
-