Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkDeviceFaultVendorBinaryHeaderVersionOneEXT

extends Struct<VkDeviceFaultVendorBinaryHeaderVersionOneEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing the layout of the vendor binary crash dump header.
Description

Unlike most structures declared by the Vulkan API, all fields of this structure are written with the least significant byte first, regardless of host byte-order.

The C language specification does not define the packing of structure members. This layout assumes tight structure member packing, with members laid out in the order listed in the structure, and the intended size of the structure is 56 bytes. If a compiler produces code that diverges from that pattern, applications must employ another method to set values at the correct offsets.

Valid Usage
Valid Usage (Implicit)

Layout


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 and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
APIVERSION

The struct member offsets.

public static final int
APPLICATIONNAMEOFFSET

The struct member offsets.

public static final int
APPLICATIONVERSION

The struct member offsets.

public static final int
DEVICEID

The struct member offsets.

public static final int
DRIVERVERSION

The struct member offsets.

public static final int
ENGINENAMEOFFSET

The struct member offsets.

public static final int
ENGINEVERSION

The struct member offsets.

public static final int
HEADERSIZE

The struct member offsets.

public static final int
HEADERVERSION

The struct member offsets.

public static final int
PIPELINECACHEUUID

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
VENDORID

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkDeviceFaultVendorBinaryHeaderVersionOneEXT(ByteBuffer container)

Creates a VkDeviceFaultVendorBinaryHeaderVersionOneEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public int
apiVersion()

must be zero or the value specified by VkApplicationInfo::apiVersion during instance creation.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
apiVersion(int value)

Sets the specified value to the apiVersion field.

public int
applicationNameOffset()

zero, or an offset from the base address of the crash dump header to a null-terminated UTF-8 string containing the name of the application.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
applicationNameOffset(int value)

Sets the specified value to the applicationNameOffset field.

public int
applicationVersion()

must be zero or the value specified by VkApplicationInfo::applicationVersion during instance creation.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
applicationVersion(int value)

Sets the specified value to the applicationVersion field.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT
calloc()

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT instance allocated with memCalloc.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer instance allocated with memCalloc.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkDeviceFaultVendorBinaryHeaderVersionOneEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT
create()

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT instance allocated with BufferUtils.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT
create(long address)

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT instance for the specified memory address.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer instance allocated with BufferUtils.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer instance at the specified memory.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
deviceID()

the VkPhysicalDeviceProperties::deviceID of the implementation.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
deviceID(int value)

Sets the specified value to the deviceID field.

public int
driverVersion()

the VkPhysicalDeviceProperties::driverVersion of the implementation.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
driverVersion(int value)

Sets the specified value to the driverVersion field.

public int
engineNameOffset()

zero, or an offset from the base address of the crash dump header to a null-terminated UTF-8 string containing the name of the engine (if any) used to create the application.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
engineNameOffset(int value)

Sets the specified value to the engineNameOffset field.

public int
engineVersion()

must be zero or the value specified by VkApplicationInfo::engineVersion during instance creation.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
engineVersion(int value)

Sets the specified value to the engineVersion field.

public int
headerSize()

the length in bytes of the crash dump header.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
headerSize(int value)

Sets the specified value to the headerSize field.

public int
headerVersion()

a VkDeviceFaultVendorBinaryHeaderVersionEXT enum value specifying the version of the header.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
headerVersion(int value)

Sets the specified value to the headerVersion field.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT
malloc()

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT instance allocated with memAlloc.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer instance allocated with memAlloc.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT instance allocated on the specified MemoryStack.

public static VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDeviceFaultVendorBinaryHeaderVersionOneEXT.Buffer instance allocated on the specified MemoryStack.

public static int
napiVersion(long struct)

Unsafe version of apiVersion.

public static void
napiVersion(long struct, int value)

Unsafe version of apiVersion.

public static int
napplicationNameOffset(long struct)

Unsafe version of applicationNameOffset.

public static void
napplicationNameOffset(long struct, int value)

Unsafe version of applicationNameOffset.

public static int
napplicationVersion(long struct)

Unsafe version of applicationVersion.

public static void
napplicationVersion(long struct, int value)

Unsafe version of applicationVersion.

public static int
ndeviceID(long struct)

Unsafe version of deviceID.

public static void
ndeviceID(long struct, int value)

Unsafe version of deviceID.

public static int
ndriverVersion(long struct)

Unsafe version of driverVersion.

public static void
ndriverVersion(long struct, int value)

Unsafe version of driverVersion.

public static int
nengineNameOffset(long struct)

Unsafe version of engineNameOffset.

public static void
nengineNameOffset(long struct, int value)

Unsafe version of engineNameOffset.

public static int
nengineVersion(long struct)

Unsafe version of engineVersion.

public static void
nengineVersion(long struct, int value)

Unsafe version of engineVersion.

public static int
nheaderSize(long struct)

Unsafe version of headerSize.

public static void
nheaderSize(long struct, int value)

Unsafe version of headerSize.

public static int
nheaderVersion(long struct)

Unsafe version of headerVersion.

public static void
nheaderVersion(long struct, int value)

Unsafe version of headerVersion.

public static ByteBuffer
npipelineCacheUUID(long struct)

Unsafe version of pipelineCacheUUID.

public static byte
npipelineCacheUUID(long struct, int index)

Unsafe version of pipelineCacheUUID.

public static void
npipelineCacheUUID(long struct, ByteBuffer value)

Unsafe version of pipelineCacheUUID.

public static void
npipelineCacheUUID(long struct, int index, byte value)

Unsafe version of pipelineCacheUUID.

public static int
nvendorID(long struct)

Unsafe version of vendorID.

public static void
nvendorID(long struct, int value)

Unsafe version of vendorID.

public ByteBuffer
pipelineCacheUUID()

an array of UUID_SIZE uint8_t values matching the VkPhysicalDeviceProperties::pipelineCacheUUID property of the implementation.

public byte
pipelineCacheUUID(int index)

an array of UUID_SIZE uint8_t values matching the VkPhysicalDeviceProperties::pipelineCacheUUID property of the implementation.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
pipelineCacheUUID(ByteBuffer value)

Copies the specified ByteBuffer to the pipelineCacheUUID field.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
pipelineCacheUUID(int index, byte value)

Sets the specified value at the specified index of the pipelineCacheUUID field.

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.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT

Returns:

this struct
set
(VkDeviceFaultVendorBinaryHeaderVersionOneEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
vendorID()

the VkPhysicalDeviceProperties::vendorID of the implementation.

public VkDeviceFaultVendorBinaryHeaderVersionOneEXT
vendorID(int value)

Sets the specified value to the vendorID field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate