public class VkPhysicalDeviceProperties2
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
The pNext chain of this structure is used to extend the structure with properties defined by extensions.
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT, VkPhysicalDeviceConservativeRasterizationPropertiesEXT, VkPhysicalDeviceCooperativeMatrixPropertiesNV, VkPhysicalDeviceDepthStencilResolvePropertiesKHR, VkPhysicalDeviceDescriptorIndexingPropertiesEXT, VkPhysicalDeviceDiscardRectanglePropertiesEXT, VkPhysicalDeviceDriverPropertiesKHR, VkPhysicalDeviceExternalMemoryHostPropertiesEXT, VkPhysicalDeviceFloatControlsPropertiesKHR, VkPhysicalDeviceFragmentDensityMapPropertiesEXT, VkPhysicalDeviceIDProperties, VkPhysicalDeviceInlineUniformBlockPropertiesEXT, VkPhysicalDeviceLineRasterizationPropertiesEXT, VkPhysicalDeviceMaintenance3Properties, VkPhysicalDeviceMeshShaderPropertiesNV, VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX, VkPhysicalDeviceMultiviewProperties, VkPhysicalDevicePCIBusInfoPropertiesEXT, VkPhysicalDevicePerformanceQueryPropertiesKHR, VkPhysicalDevicePointClippingProperties, VkPhysicalDeviceProtectedMemoryProperties, VkPhysicalDevicePushDescriptorPropertiesKHR, VkPhysicalDeviceRayTracingPropertiesNV, VkPhysicalDeviceSampleLocationsPropertiesEXT, VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT, VkPhysicalDeviceShaderCoreProperties2AMD, VkPhysicalDeviceShaderCorePropertiesAMD, VkPhysicalDeviceShaderSMBuiltinsPropertiesNV, VkPhysicalDeviceShadingRateImagePropertiesNV, VkPhysicalDeviceSubgroupProperties, VkPhysicalDeviceSubgroupSizeControlPropertiesEXT, VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT, VkPhysicalDeviceTimelineSemaphorePropertiesKHR, VkPhysicalDeviceTransformFeedbackPropertiesEXT, or VkPhysicalDeviceVertexAttributeDivisorPropertiesEXTsType member in the pNext chain must be uniqueVkPhysicalDeviceProperties, GetPhysicalDeviceProperties2, GetPhysicalDeviceProperties2KHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.properties – a VkPhysicalDeviceProperties structure describing properties of the physical device. This structure is written with the same values as if it were written by GetPhysicalDeviceProperties.
struct VkPhysicalDeviceProperties2 {
VkStructureType sType;
void * pNext;
VkPhysicalDeviceProperties properties;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceProperties2.Buffer
An array of
VkPhysicalDeviceProperties2 structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PROPERTIES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceProperties2(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceProperties2 instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceProperties2 |
calloc()
Returns a new
VkPhysicalDeviceProperties2 instance allocated with memCalloc. |
static VkPhysicalDeviceProperties2.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceProperties2.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceProperties2 |
callocStack()
Returns a new
VkPhysicalDeviceProperties2 instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceProperties2.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceProperties2.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceProperties2.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceProperties2.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceProperties2 |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceProperties2 instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceProperties2 |
create()
Returns a new
VkPhysicalDeviceProperties2 instance allocated with BufferUtils. |
static VkPhysicalDeviceProperties2.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceProperties2.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceProperties2 |
create(long address)
Returns a new
VkPhysicalDeviceProperties2 instance for the specified memory address. |
static VkPhysicalDeviceProperties2.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceProperties2.Buffer instance at the specified memory. |
static VkPhysicalDeviceProperties2 |
createSafe(long address)
|
static VkPhysicalDeviceProperties2.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceProperties2 |
malloc()
Returns a new
VkPhysicalDeviceProperties2 instance allocated with memAlloc. |
static VkPhysicalDeviceProperties2.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceProperties2.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceProperties2 |
mallocStack()
Returns a new
VkPhysicalDeviceProperties2 instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceProperties2.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceProperties2.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceProperties2.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceProperties2.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceProperties2 |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceProperties2 instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static VkPhysicalDeviceProperties |
nproperties(long struct)
Unsafe version of
properties(). |
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. |
VkPhysicalDeviceProperties2 |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceProperties |
properties()
Returns a
VkPhysicalDeviceProperties view of the properties field. |
VkPhysicalDeviceProperties2 |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceProperties2 |
set(VkPhysicalDeviceProperties2 src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceProperties2 |
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 PROPERTIES
public VkPhysicalDeviceProperties2(java.nio.ByteBuffer container)
VkPhysicalDeviceProperties2 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 VkPhysicalDeviceProperties properties()
VkPhysicalDeviceProperties view of the properties field.public VkPhysicalDeviceProperties2 sType(int value)
sType field.public VkPhysicalDeviceProperties2 pNext(long value)
pNext field.public VkPhysicalDeviceProperties2 set(int sType, long pNext)
public VkPhysicalDeviceProperties2 set(VkPhysicalDeviceProperties2 src)
src - the source structpublic static VkPhysicalDeviceProperties2 malloc()
VkPhysicalDeviceProperties2 instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceProperties2 calloc()
VkPhysicalDeviceProperties2 instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceProperties2 create()
VkPhysicalDeviceProperties2 instance allocated with BufferUtils.public static VkPhysicalDeviceProperties2 create(long address)
VkPhysicalDeviceProperties2 instance for the specified memory address.@Nullable public static VkPhysicalDeviceProperties2 createSafe(long address)
public static VkPhysicalDeviceProperties2.Buffer malloc(int capacity)
VkPhysicalDeviceProperties2.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2.Buffer calloc(int capacity)
VkPhysicalDeviceProperties2.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2.Buffer create(int capacity)
VkPhysicalDeviceProperties2.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2.Buffer create(long address, int capacity)
VkPhysicalDeviceProperties2.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceProperties2.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceProperties2 mallocStack()
VkPhysicalDeviceProperties2 instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceProperties2 callocStack()
VkPhysicalDeviceProperties2 instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceProperties2 mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceProperties2 instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceProperties2 callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceProperties2 instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceProperties2.Buffer mallocStack(int capacity)
VkPhysicalDeviceProperties2.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2.Buffer callocStack(int capacity)
VkPhysicalDeviceProperties2.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceProperties2.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceProperties2.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceProperties2.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 VkPhysicalDeviceProperties nproperties(long struct)
properties().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.