Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceProperties2

extends Struct<VkPhysicalDeviceProperties2>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkPhysicalDeviceProperties2KHR
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying physical device properties.
Description

The pNext chain of this structure is used to extend the structure with properties defined by extensions.

Valid Usage (Implicit)
See Also

VkPhysicalDeviceProperties, GetPhysicalDeviceProperties2, GetPhysicalDeviceProperties2KHR

Layout


struct VkPhysicalDeviceProperties2 {
    VkStructureType sType;
    void * pNext;
    VkPhysicalDeviceProperties properties;
}

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
PNEXT

The struct member offsets.

public static final int
PROPERTIES

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkPhysicalDeviceProperties2(long address, ByteBuffer container)

public
VkPhysicalDeviceProperties2(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceProperties2
calloc()

Returns a new VkPhysicalDeviceProperties2 instance allocated with memCalloc.

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

Returns a new VkPhysicalDeviceProperties2.Buffer instance allocated with memCalloc.

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

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

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

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

public static VkPhysicalDeviceProperties2
callocStack()

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

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

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

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

Returns a new VkPhysicalDeviceProperties2 instance allocated with BufferUtils.

public static VkPhysicalDeviceProperties2
create(long address)

Returns a new VkPhysicalDeviceProperties2 instance for the specified memory address.

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

Returns a new VkPhysicalDeviceProperties2.Buffer instance allocated with BufferUtils.

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

Create a VkPhysicalDeviceProperties2.Buffer instance at the specified memory.

public static VkPhysicalDeviceProperties2
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceProperties2
malloc()

Returns a new VkPhysicalDeviceProperties2 instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceProperties2.Buffer instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceProperties2 instance allocated on the specified MemoryStack.

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

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

public static VkPhysicalDeviceProperties2
mallocStack()

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

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

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

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

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkPhysicalDeviceProperties
nproperties(long struct)

Unsafe version of properties.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceProperties2
pNext(long value)

Sets the specified value to the pNext field.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceDriverProperties value)

Prepends the specified VkPhysicalDeviceDriverProperties value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceDriverPropertiesKHR value)

Prepends the specified VkPhysicalDeviceDriverPropertiesKHR value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceDrmPropertiesEXT value)

Prepends the specified VkPhysicalDeviceDrmPropertiesEXT value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceFloatControlsProperties value)

Prepends the specified VkPhysicalDeviceFloatControlsProperties value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceIDProperties value)

Prepends the specified VkPhysicalDeviceIDProperties value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceIDPropertiesKHR value)

Prepends the specified VkPhysicalDeviceIDPropertiesKHR value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMaintenance3Properties value)

Prepends the specified VkPhysicalDeviceMaintenance3Properties value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMaintenance3PropertiesKHR value)

Prepends the specified VkPhysicalDeviceMaintenance3PropertiesKHR value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMaintenance4Properties value)

Prepends the specified VkPhysicalDeviceMaintenance4Properties value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMaintenance4PropertiesKHR value)

Prepends the specified VkPhysicalDeviceMaintenance4PropertiesKHR value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMaintenance5PropertiesKHR value)

Prepends the specified VkPhysicalDeviceMaintenance5PropertiesKHR value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMeshShaderPropertiesEXT value)

Prepends the specified VkPhysicalDeviceMeshShaderPropertiesEXT value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMeshShaderPropertiesNV value)

Prepends the specified VkPhysicalDeviceMeshShaderPropertiesNV value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMultiDrawPropertiesEXT value)

Prepends the specified VkPhysicalDeviceMultiDrawPropertiesEXT value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMultiviewProperties value)

Prepends the specified VkPhysicalDeviceMultiviewProperties value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceMultiviewPropertiesKHR value)

Prepends the specified VkPhysicalDeviceMultiviewPropertiesKHR value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceOpticalFlowPropertiesNV value)

Prepends the specified VkPhysicalDeviceOpticalFlowPropertiesNV value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDevicePCIBusInfoPropertiesEXT value)

Prepends the specified VkPhysicalDevicePCIBusInfoPropertiesEXT value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDevicePointClippingProperties value)

Prepends the specified VkPhysicalDevicePointClippingProperties value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceProtectedMemoryProperties value)

Prepends the specified VkPhysicalDeviceProtectedMemoryProperties value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceRayTracingPropertiesNV value)

Prepends the specified VkPhysicalDeviceRayTracingPropertiesNV value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceRobustness2PropertiesEXT value)

Prepends the specified VkPhysicalDeviceRobustness2PropertiesEXT value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceShaderCoreProperties2AMD value)

Prepends the specified VkPhysicalDeviceShaderCoreProperties2AMD value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceShaderCorePropertiesAMD value)

Prepends the specified VkPhysicalDeviceShaderCorePropertiesAMD value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceShaderCorePropertiesARM value)

Prepends the specified VkPhysicalDeviceShaderCorePropertiesARM value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceShaderObjectPropertiesEXT value)

Prepends the specified VkPhysicalDeviceShaderObjectPropertiesEXT value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceSubgroupProperties value)

Prepends the specified VkPhysicalDeviceSubgroupProperties value to the pNext chain.

public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceVulkan11Properties value)

Prepends the specified VkPhysicalDeviceVulkan11Properties value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceVulkan12Properties value)

Prepends the specified VkPhysicalDeviceVulkan12Properties value to the pNext chain.

public VkPhysicalDeviceProperties2
pNext(VkPhysicalDeviceVulkan13Properties value)

Prepends the specified VkPhysicalDeviceVulkan13Properties value to the pNext chain.

public VkPhysicalDeviceProperties
properties()

a VkPhysicalDeviceProperties structure describing properties of the physical device.

public VkPhysicalDeviceProperties2
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkPhysicalDeviceProperties2

Returns:

this struct
set
(VkPhysicalDeviceProperties2
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
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceProperties2
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceProperties2
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate