public class VkPhysicalDeviceDriverPropertiesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
driverID must be immutable for a given driver across instances, processes, driver versions, and system reboots.
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHRsType – the type of this structure.pNext – NULL or a pointer to an extension specific structure.driverID – a unique identifier for the driver of the physical device.driverName[VK_MAX_DRIVER_NAME_SIZE_KHR] – an array of MAX_DRIVER_NAME_SIZE_KHR char containing a null-terminated UTF-8 string which is the name of the driver.driverInfo[VK_MAX_DRIVER_INFO_SIZE_KHR] – an array of MAX_DRIVER_INFO_SIZE_KHR char containing a null-terminated UTF-8 string with additional information about the driver.conformanceVersion – the version of the Vulkan conformance test this driver is conformant against (see VkConformanceVersionKHR).
struct VkPhysicalDeviceDriverPropertiesKHR {
VkStructureType sType;
void * pNext;
VkDriverIdKHR driverID;
char driverName[VK_MAX_DRIVER_NAME_SIZE_KHR];
char driverInfo[VK_MAX_DRIVER_INFO_SIZE_KHR];
VkConformanceVersionKHR conformanceVersion;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceDriverPropertiesKHR.Buffer
An array of
VkPhysicalDeviceDriverPropertiesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CONFORMANCEVERSION
The struct member offsets.
|
static int |
DRIVERID
The struct member offsets.
|
static int |
DRIVERINFO
The struct member offsets.
|
static int |
DRIVERNAME
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceDriverPropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceDriverPropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceDriverPropertiesKHR |
calloc()
Returns a new
VkPhysicalDeviceDriverPropertiesKHR instance allocated with memCalloc. |
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceDriverPropertiesKHR |
callocStack()
Returns a new
VkPhysicalDeviceDriverPropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDriverPropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
VkConformanceVersionKHR |
conformanceVersion()
Returns a
VkConformanceVersionKHR view of the conformanceVersion field. |
static VkPhysicalDeviceDriverPropertiesKHR |
create()
Returns a new
VkPhysicalDeviceDriverPropertiesKHR instance allocated with BufferUtils. |
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceDriverPropertiesKHR |
create(long address)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR instance for the specified memory address. |
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceDriverPropertiesKHR |
createSafe(long address)
|
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
int |
driverID()
Returns the value of the
driverID field. |
java.nio.ByteBuffer |
driverInfo()
Returns a
ByteBuffer view of the driverInfo field. |
java.lang.String |
driverInfoString()
Decodes the null-terminated string stored in the
driverInfo field. |
java.nio.ByteBuffer |
driverName()
Returns a
ByteBuffer view of the driverName field. |
java.lang.String |
driverNameString()
Decodes the null-terminated string stored in the
driverName field. |
static VkPhysicalDeviceDriverPropertiesKHR |
malloc()
Returns a new
VkPhysicalDeviceDriverPropertiesKHR instance allocated with memAlloc. |
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceDriverPropertiesKHR |
mallocStack()
Returns a new
VkPhysicalDeviceDriverPropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceDriverPropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceDriverPropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDriverPropertiesKHR instance allocated on the specified MemoryStack. |
static VkConformanceVersionKHR |
nconformanceVersion(long struct)
Unsafe version of
conformanceVersion(). |
static int |
ndriverID(long struct)
Unsafe version of
driverID(). |
static java.nio.ByteBuffer |
ndriverInfo(long struct)
Unsafe version of
driverInfo(). |
static java.lang.String |
ndriverInfoString(long struct)
Unsafe version of
driverInfoString(). |
static java.nio.ByteBuffer |
ndriverName(long struct)
Unsafe version of
driverName(). |
static java.lang.String |
ndriverNameString(long struct)
Unsafe version of
driverNameString(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceDriverPropertiesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceDriverPropertiesKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceDriverPropertiesKHR |
set(VkPhysicalDeviceDriverPropertiesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceDriverPropertiesKHR |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int DRIVERID
public static final int DRIVERNAME
public static final int DRIVERINFO
public static final int CONFORMANCEVERSION
public VkPhysicalDeviceDriverPropertiesKHR(java.nio.ByteBuffer container)
VkPhysicalDeviceDriverPropertiesKHR instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int driverID()
driverID field.public java.nio.ByteBuffer driverName()
ByteBuffer view of the driverName field.public java.lang.String driverNameString()
driverName field.public java.nio.ByteBuffer driverInfo()
ByteBuffer view of the driverInfo field.public java.lang.String driverInfoString()
driverInfo field.public VkConformanceVersionKHR conformanceVersion()
VkConformanceVersionKHR view of the conformanceVersion field.public VkPhysicalDeviceDriverPropertiesKHR sType(int value)
sType field.public VkPhysicalDeviceDriverPropertiesKHR pNext(long value)
pNext field.public VkPhysicalDeviceDriverPropertiesKHR set(int sType, long pNext)
public VkPhysicalDeviceDriverPropertiesKHR set(VkPhysicalDeviceDriverPropertiesKHR src)
src - the source structpublic static VkPhysicalDeviceDriverPropertiesKHR malloc()
VkPhysicalDeviceDriverPropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceDriverPropertiesKHR calloc()
VkPhysicalDeviceDriverPropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceDriverPropertiesKHR create()
VkPhysicalDeviceDriverPropertiesKHR instance allocated with BufferUtils.public static VkPhysicalDeviceDriverPropertiesKHR create(long address)
VkPhysicalDeviceDriverPropertiesKHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceDriverPropertiesKHR createSafe(long address)
public static VkPhysicalDeviceDriverPropertiesKHR.Buffer malloc(int capacity)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceDriverPropertiesKHR.Buffer calloc(int capacity)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceDriverPropertiesKHR.Buffer create(int capacity)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceDriverPropertiesKHR.Buffer create(long address, int capacity)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceDriverPropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceDriverPropertiesKHR mallocStack()
VkPhysicalDeviceDriverPropertiesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceDriverPropertiesKHR callocStack()
VkPhysicalDeviceDriverPropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceDriverPropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDriverPropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceDriverPropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDriverPropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceDriverPropertiesKHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceDriverPropertiesKHR.Buffer callocStack(int capacity)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceDriverPropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceDriverPropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDriverPropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ndriverID(long struct)
driverID().public static java.nio.ByteBuffer ndriverName(long struct)
driverName().public static java.lang.String ndriverNameString(long struct)
driverNameString().public static java.nio.ByteBuffer ndriverInfo(long struct)
driverInfo().public static java.lang.String ndriverInfoString(long struct)
driverInfoString().public static VkConformanceVersionKHR nconformanceVersion(long struct)
conformanceVersion().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.