Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceProperties

extends Struct<VkPhysicalDeviceProperties>
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 specifying physical device properties.
Description
Note

The value of apiVersion may be different than the version returned by EnumerateInstanceVersion; either higher or lower. In such cases, the application must not use functionality that exceeds the version of Vulkan associated with a given object. The pApiVersion parameter returned by EnumerateInstanceVersion is the version associated with a VkInstance and its children, except for a VkPhysicalDevice and its children. VkPhysicalDeviceProperties::apiVersion is the version associated with a VkPhysicalDevice and its children.

Note

The encoding of driverVersion is implementation-defined. It may not use the same encoding as apiVersion. Applications should follow information from the vendor on how to extract the version information from driverVersion.

On implementations that claim support for the Roadmap 2022 profile, the major and minor version expressed by apiVersion must be at least Vulkan 1.3.

The vendorID and deviceID fields are provided to allow applications to adapt to device characteristics that are not adequately exposed by other Vulkan queries.

Note

These may include performance profiles, hardware errata, or other characteristics.

The vendor identified by vendorID is the entity responsible for the most salient characteristics of the underlying implementation of the VkPhysicalDevice being queried.

Note

For example, in the case of a discrete GPU implementation, this should be the GPU chipset vendor. In the case of a hardware accelerator integrated into a system-on-chip (SoC), this should be the supplier of the silicon IP used to create the accelerator.

If the vendor has a PCI vendor ID, the low 16 bits of vendorID must contain that PCI vendor ID, and the remaining bits must be set to zero. Otherwise, the value returned must be a valid Khronos vendor ID, obtained as described in the Vulkan Documentation and Extensions: Procedures and Conventions document in the section “Registering a Vendor ID with Khronos”. Khronos vendor IDs are allocated starting at 0x10000, to distinguish them from the PCI vendor ID namespace. Khronos vendor IDs are symbolically defined in the VkVendorId type.

The vendor is also responsible for the value returned in deviceID. If the implementation is driven primarily by a PCI device with a PCI device ID, the low 16 bits of deviceID must contain that PCI device ID, and the remaining bits must be set to zero. Otherwise, the choice of what values to return may be dictated by operating system or platform policies - but should uniquely identify both the device version and any major configuration options (for example, core count in the case of multicore devices).

Note

The same device ID should be used for all physical implementations of that device version and configuration. For example, all uses of a specific silicon IP GPU version and configuration should use the same device ID, even if those uses occur in different SoCs.

See Also

VkPhysicalDeviceLimits, VkPhysicalDeviceProperties2, VkPhysicalDeviceSparseProperties, GetPhysicalDeviceProperties

Layout


struct VkPhysicalDeviceProperties {
    uint32_t apiVersion;
    uint32_t driverVersion;
    uint32_t vendorID;
    uint32_t deviceID;
    VkPhysicalDeviceType deviceType;
    char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE];
    uint8_t pipelineCacheUUID[VK_UUID_SIZE];
    VkPhysicalDeviceLimits limits;
    VkPhysicalDeviceSparseProperties sparseProperties;
}

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
DEVICEID

The struct member offsets.

public static final int
DEVICENAME

The struct member offsets.

public static final int
DEVICETYPE

The struct member offsets.

public static final int
DRIVERVERSION

The struct member offsets.

public static final int
LIMITS

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
SPARSEPROPERTIES

The struct member offsets.

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
VkPhysicalDeviceProperties(long address, ByteBuffer container)

public
VkPhysicalDeviceProperties(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public int
apiVersion()

the version of Vulkan supported by the device, encoded as described in Version Numbers.

public static VkPhysicalDeviceProperties
calloc()

Returns a new VkPhysicalDeviceProperties instance allocated with memCalloc.

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

Returns a new VkPhysicalDeviceProperties.Buffer instance allocated with memCalloc.

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

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

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

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

public static VkPhysicalDeviceProperties
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceProperties
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceProperties.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceProperties.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkPhysicalDeviceProperties
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 VkPhysicalDeviceProperties
create()

Returns a new VkPhysicalDeviceProperties instance allocated with BufferUtils.

public static VkPhysicalDeviceProperties
create(long address)

Returns a new VkPhysicalDeviceProperties instance for the specified memory address.

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

Returns a new VkPhysicalDeviceProperties.Buffer instance allocated with BufferUtils.

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

Create a VkPhysicalDeviceProperties.Buffer instance at the specified memory.

public static VkPhysicalDeviceProperties
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int
deviceID()

a unique identifier for the physical device among devices available from the vendor.

public ByteBuffer
deviceName()

an array of MAX_PHYSICAL_DEVICE_NAME_SIZE char containing a null-terminated UTF-8 string which is the name of the device.

public String
deviceNameString()

an array of MAX_PHYSICAL_DEVICE_NAME_SIZE char containing a null-terminated UTF-8 string which is the name of the device.

public int
deviceType()

a VkPhysicalDeviceType specifying the type of device.

public int
driverVersion()

the vendor-specified version of the driver.

public VkPhysicalDeviceLimits
limits()

the VkPhysicalDeviceLimits structure specifying device-specific limits of the physical device.

public static VkPhysicalDeviceProperties
malloc()

Returns a new VkPhysicalDeviceProperties instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceProperties.Buffer instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceProperties instance allocated on the specified MemoryStack.

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

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

public static VkPhysicalDeviceProperties
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceProperties
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceProperties.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceProperties.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static int
napiVersion(long struct)

Unsafe version of apiVersion.

public static int
ndeviceID(long struct)

Unsafe version of deviceID.

public static ByteBuffer
ndeviceName(long struct)

Unsafe version of deviceName.

public static String
ndeviceNameString(long struct)

Unsafe version of deviceNameString.

public static int
ndeviceType(long struct)

Unsafe version of deviceType.

public static int
ndriverVersion(long struct)

Unsafe version of driverVersion.

public static VkPhysicalDeviceLimits
nlimits(long struct)

Unsafe version of limits.

public static ByteBuffer
npipelineCacheUUID(long struct)

Unsafe version of pipelineCacheUUID.

public static byte
npipelineCacheUUID(long struct, int index)

Unsafe version of pipelineCacheUUID.

public static VkPhysicalDeviceSparseProperties
nsparseProperties(long struct)

Unsafe version of sparseProperties.

public static int
nvendorID(long struct)

Unsafe version of vendorID.

public ByteBuffer
pipelineCacheUUID()

an array of UUID_SIZE uint8_t values representing a universally unique identifier for the device.

public byte
pipelineCacheUUID(int index)

an array of UUID_SIZE uint8_t values representing a universally unique identifier for the device.

public int
sizeof()

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

Returns sizeof(struct).
public VkPhysicalDeviceSparseProperties
sparseProperties()

the VkPhysicalDeviceSparseProperties structure specifying various sparse related properties of the physical device.

public int
vendorID()

a unique identifier for the vendor (see below) of the physical device.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

APIVERSIONback to summary
public static final int APIVERSION

The struct member offsets.

DEVICEIDback to summary
public static final int DEVICEID

The struct member offsets.

DEVICENAMEback to summary
public static final int DEVICENAME

The struct member offsets.

DEVICETYPEback to summary
public static final int DEVICETYPE

The struct member offsets.

DRIVERVERSIONback to summary
public static final int DRIVERVERSION

The struct member offsets.

LIMITSback to summary
public static final int LIMITS

The struct member offsets.

PIPELINECACHEUUIDback to summary
public static final int PIPELINECACHEUUID

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SPARSEPROPERTIESback to summary
public static final int SPARSEPROPERTIES

The struct member offsets.

VENDORIDback to summary
public static final int VENDORID

The struct member offsets.

Constructor Detail

VkPhysicalDevicePropertiesback to summary
protected VkPhysicalDeviceProperties(long address, ByteBuffer container)
VkPhysicalDevicePropertiesback to summary
public VkPhysicalDeviceProperties(ByteBuffer container)

Creates a VkPhysicalDeviceProperties 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.

Method Detail

apiVersionback to summary
public int apiVersion()

the version of Vulkan supported by the device, encoded as described in Version Numbers.

Annotations
@NativeType:uint32_t
callocback to summary
public static VkPhysicalDeviceProperties calloc()

Returns a new VkPhysicalDeviceProperties instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkPhysicalDeviceProperties.Buffer calloc(int capacity)

Returns a new VkPhysicalDeviceProperties.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkPhysicalDeviceProperties calloc(MemoryStack stack)

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

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkPhysicalDeviceProperties.Buffer calloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VkPhysicalDeviceProperties callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkPhysicalDeviceProperties callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkPhysicalDeviceProperties.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkPhysicalDeviceProperties.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VkPhysicalDeviceProperties create(long address, ByteBuffer container)

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

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkPhysicalDeviceProperties create()

Returns a new VkPhysicalDeviceProperties instance allocated with BufferUtils.

createback to summary
public static VkPhysicalDeviceProperties create(long address)

Returns a new VkPhysicalDeviceProperties instance for the specified memory address.

createback to summary
public static VkPhysicalDeviceProperties.Buffer create(int capacity)

Returns a new VkPhysicalDeviceProperties.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkPhysicalDeviceProperties.Buffer create(long address, int capacity)

Create a VkPhysicalDeviceProperties.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkPhysicalDeviceProperties createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkPhysicalDeviceProperties.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
deviceIDback to summary
public int deviceID()

a unique identifier for the physical device among devices available from the vendor.

Annotations
@NativeType:uint32_t
deviceNameback to summary
public ByteBuffer deviceName()

an array of MAX_PHYSICAL_DEVICE_NAME_SIZE char containing a null-terminated UTF-8 string which is the name of the device.

Annotations
@NativeType:char[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]
deviceNameStringback to summary
public String deviceNameString()

an array of MAX_PHYSICAL_DEVICE_NAME_SIZE char containing a null-terminated UTF-8 string which is the name of the device.

Annotations
@NativeType:char[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]
deviceTypeback to summary
public int deviceType()

a VkPhysicalDeviceType specifying the type of device.

Annotations
@NativeType:VkPhysicalDeviceType
driverVersionback to summary
public int driverVersion()

the vendor-specified version of the driver.

Annotations
@NativeType:uint32_t
limitsback to summary
public VkPhysicalDeviceLimits limits()

the VkPhysicalDeviceLimits structure specifying device-specific limits of the physical device. See Limits for details.

mallocback to summary
public static VkPhysicalDeviceProperties malloc()

Returns a new VkPhysicalDeviceProperties instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkPhysicalDeviceProperties.Buffer malloc(int capacity)

Returns a new VkPhysicalDeviceProperties.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkPhysicalDeviceProperties malloc(MemoryStack stack)

Returns a new VkPhysicalDeviceProperties instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkPhysicalDeviceProperties.Buffer malloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VkPhysicalDeviceProperties mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkPhysicalDeviceProperties mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkPhysicalDeviceProperties.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkPhysicalDeviceProperties.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
napiVersionback to summary
public static int napiVersion(long struct)

Unsafe version of apiVersion.

ndeviceIDback to summary
public static int ndeviceID(long struct)

Unsafe version of deviceID.

ndeviceNameback to summary
public static ByteBuffer ndeviceName(long struct)

Unsafe version of deviceName.

ndeviceNameStringback to summary
public static String ndeviceNameString(long struct)

Unsafe version of deviceNameString.

ndeviceTypeback to summary
public static int ndeviceType(long struct)

Unsafe version of deviceType.

ndriverVersionback to summary
public static int ndriverVersion(long struct)

Unsafe version of driverVersion.

nlimitsback to summary
public static VkPhysicalDeviceLimits nlimits(long struct)

Unsafe version of limits.

npipelineCacheUUIDback to summary
public static ByteBuffer npipelineCacheUUID(long struct)

Unsafe version of pipelineCacheUUID.

npipelineCacheUUIDback to summary
public static byte npipelineCacheUUID(long struct, int index)

Unsafe version of pipelineCacheUUID.

nsparsePropertiesback to summary
public static VkPhysicalDeviceSparseProperties nsparseProperties(long struct)

Unsafe version of sparseProperties.

nvendorIDback to summary
public static int nvendorID(long struct)

Unsafe version of vendorID.

pipelineCacheUUIDback to summary
public ByteBuffer pipelineCacheUUID()

an array of UUID_SIZE uint8_t values representing a universally unique identifier for the device.

Annotations
@NativeType:uint8_t[VK_UUID_SIZE]
pipelineCacheUUIDback to summary
public byte pipelineCacheUUID(int index)

an array of UUID_SIZE uint8_t values representing a universally unique identifier for the device.

Annotations
@NativeType:uint8_t
sizeofback to summary
public int sizeof()

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

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
sparsePropertiesback to summary
public VkPhysicalDeviceSparseProperties sparseProperties()

the VkPhysicalDeviceSparseProperties structure specifying various sparse related properties of the physical device. See Sparse Properties for details.

vendorIDback to summary
public int vendorID()

a unique identifier for the vendor (see below) of the physical device.

Annotations
@NativeType:uint32_t
org.lwjgl.vulkan back to summary

public Class VkPhysicalDeviceProperties.Buffer

extends StructBuffer<VkPhysicalDeviceProperties, VkPhysicalDeviceProperties.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkPhysicalDeviceProperties structs.

Field Summary

Modifier and TypeField and Description
private static final VkPhysicalDeviceProperties

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkPhysicalDeviceProperties.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the VkPhysicalDeviceProperties#apiVersion field.
apiVersion
()

public int

Returns:

the value of the VkPhysicalDeviceProperties#deviceID field.
deviceID
()

public ByteBuffer
public String

Returns:

the null-terminated string stored in the VkPhysicalDeviceProperties#deviceName field.
deviceNameString
()

public int

Returns:

the value of the VkPhysicalDeviceProperties#deviceType field.
deviceType
()

public int

Returns:

the value of the VkPhysicalDeviceProperties#driverVersion field.
driverVersion
()

protected VkPhysicalDeviceProperties
public VkPhysicalDeviceLimits
public ByteBuffer
public byte

Returns:

the value at the specified index of the VkPhysicalDeviceProperties#pipelineCacheUUID field.
pipelineCacheUUID
(int index)

protected VkPhysicalDeviceProperties.Buffer
public VkPhysicalDeviceSparseProperties
public int

Returns:

the value of the VkPhysicalDeviceProperties#vendorID field.
vendorID
()

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkPhysicalDeviceProperties ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkPhysicalDeviceProperties.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkPhysicalDeviceProperties#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

apiVersionback to summary
public int apiVersion()
Returns:int

the value of the VkPhysicalDeviceProperties#apiVersion field.

Annotations
@NativeType:uint32_t
deviceIDback to summary
public int deviceID()
Returns:int

the value of the VkPhysicalDeviceProperties#deviceID field.

Annotations
@NativeType:uint32_t
deviceNameback to summary
public ByteBuffer deviceName()
Returns:ByteBuffer

a ByteBuffer view of the VkPhysicalDeviceProperties#deviceName field.

Annotations
@NativeType:char[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]
deviceNameStringback to summary
public String deviceNameString()
Returns:String

the null-terminated string stored in the VkPhysicalDeviceProperties#deviceName field.

Annotations
@NativeType:char[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]
deviceTypeback to summary
public int deviceType()
Returns:int

the value of the VkPhysicalDeviceProperties#deviceType field.

Annotations
@NativeType:VkPhysicalDeviceType
driverVersionback to summary
public int driverVersion()
Returns:int

the value of the VkPhysicalDeviceProperties#driverVersion field.

Annotations
@NativeType:uint32_t
getElementFactoryback to summary
protected VkPhysicalDeviceProperties getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
limitsback to summary
public VkPhysicalDeviceLimits limits()
Returns:VkPhysicalDeviceLimits

a VkPhysicalDeviceLimits view of the VkPhysicalDeviceProperties#limits field.

pipelineCacheUUIDback to summary
public ByteBuffer pipelineCacheUUID()
Returns:ByteBuffer

a ByteBuffer view of the VkPhysicalDeviceProperties#pipelineCacheUUID field.

Annotations
@NativeType:uint8_t[VK_UUID_SIZE]
pipelineCacheUUIDback to summary
public byte pipelineCacheUUID(int index)
Returns:byte

the value at the specified index of the VkPhysicalDeviceProperties#pipelineCacheUUID field.

Annotations
@NativeType:uint8_t
selfback to summary
protected VkPhysicalDeviceProperties.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
sparsePropertiesback to summary
public VkPhysicalDeviceSparseProperties sparseProperties()
Returns:VkPhysicalDeviceSparseProperties

a VkPhysicalDeviceSparseProperties view of the VkPhysicalDeviceProperties#sparseProperties field.

vendorIDback to summary
public int vendorID()
Returns:int

the value of the VkPhysicalDeviceProperties#vendorID field.

Annotations
@NativeType:uint32_t