Package org.lwjgl.vulkan
Class VkPhysicalDeviceVulkan11Properties
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceVulkan11Properties
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceVulkan11Properties extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying physical device properties for functionality promoted to Vulkan 1.1.Description
If the
VkPhysicalDeviceVulkan11Propertiesstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.These properties correspond to Vulkan 1.1 functionality.
The members of
VkPhysicalDeviceVulkan11Propertieshave the same values as the corresponding members ofVkPhysicalDeviceIDProperties,VkPhysicalDeviceSubgroupProperties,VkPhysicalDevicePointClippingProperties,VkPhysicalDeviceMultiviewProperties,VkPhysicalDeviceProtectedMemoryProperties, andVkPhysicalDeviceMaintenance3Properties.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES
Layout
struct VkPhysicalDeviceVulkan11Properties { VkStructureTypesType(); void *pNext(); uint8_tdeviceUUID()[VK_UUID_SIZE]; uint8_tdriverUUID()[VK_UUID_SIZE]; uint8_tdeviceLUID()[VK_LUID_SIZE]; uint32_tdeviceNodeMask(); VkBool32deviceLUIDValid(); uint32_tsubgroupSize(); VkShaderStageFlagssubgroupSupportedStages(); VkSubgroupFeatureFlagssubgroupSupportedOperations(); VkBool32subgroupQuadOperationsInAllStages(); VkPointClippingBehaviorpointClippingBehavior(); uint32_tmaxMultiviewViewCount(); uint32_tmaxMultiviewInstanceIndex(); VkBool32protectedNoFault(); uint32_tmaxPerSetDescriptors(); VkDeviceSizemaxMemoryAllocationSize(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceVulkan11Properties.BufferAn array ofVkPhysicalDeviceVulkan11Propertiesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDEVICELUID
DEVICELUIDVALID
DEVICENODEMASK
DEVICEUUID
DRIVERUUID
MAXMEMORYALLOCATIONSIZE
MAXMULTIVIEWINSTANCEINDEX
MAXMULTIVIEWVIEWCOUNT
MAXPERSETDESCRIPTORS
PNEXT
POINTCLIPPINGBEHAVIOR
PROTECTEDNOFAULTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
SUBGROUPQUADOPERATIONSINALLSTAGES
SUBGROUPSIZE
SUBGROUPSUPPORTEDOPERATIONS
SUBGROUPSUPPORTEDSTAGESThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceVulkan11Properties(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceVulkan11Propertiesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceVulkan11Propertiescalloc()Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated withmemCalloc.static VkPhysicalDeviceVulkan11Properties.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceVulkan11Properties.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVulkan11Propertiescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVulkan11Propertiescreate()Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated withBufferUtils.static VkPhysicalDeviceVulkan11Properties.Buffercreate(int capacity)Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceVulkan11Propertiescreate(long address)Returns a newVkPhysicalDeviceVulkan11Propertiesinstance for the specified memory address.static VkPhysicalDeviceVulkan11Properties.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceVulkan11Properties.Bufferinstance at the specified memory.static VkPhysicalDeviceVulkan11PropertiescreateSafe(long address)static VkPhysicalDeviceVulkan11Properties.BuffercreateSafe(long address, int capacity)java.nio.ByteBufferdeviceLUID()an array ofLUID_SIZEuint8_tvalues representing a locally unique identifier for the device.bytedeviceLUID(int index)an array ofLUID_SIZEuint8_tvalues representing a locally unique identifier for the device.booleandeviceLUIDValid()intdeviceNodeMask()auint32_tbitfield identifying the node within a linked device adapter corresponding to the device.java.nio.ByteBufferdeviceUUID()an array ofUUID_SIZEuint8_tvalues representing a universally unique identifier for the device.bytedeviceUUID(int index)an array ofUUID_SIZEuint8_tvalues representing a universally unique identifier for the device.java.nio.ByteBufferdriverUUID()an array ofUUID_SIZEuint8_tvalues representing a universally unique identifier for the driver build in use by the device.bytedriverUUID(int index)an array ofUUID_SIZEuint8_tvalues representing a universally unique identifier for the driver build in use by the device.static VkPhysicalDeviceVulkan11Propertiesmalloc()Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated withmemAlloc.static VkPhysicalDeviceVulkan11Properties.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceVulkan11Properties.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceVulkan11Propertiesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated on the specifiedMemoryStack.longmaxMemoryAllocationSize()the maximum size of a memory allocation that can be created, even if there is more space available in the heap.intmaxMultiviewInstanceIndex()the maximum valid value of instance index allowed to be generated by a drawing command recorded within a subpass of a multiview render pass instance.intmaxMultiviewViewCount()one greater than the maximum view index that can be used in a subpass.intmaxPerSetDescriptors()a maximum number of descriptors (summed over all descriptor types) in a single descriptor set that is guaranteed to satisfy any implementation-dependent constraints on the size of a descriptor set itself.static java.nio.ByteBufferndeviceLUID(long struct)Unsafe version ofdeviceLUID().static bytendeviceLUID(long struct, int index)Unsafe version ofdeviceLUID.static intndeviceLUIDValid(long struct)Unsafe version ofdeviceLUIDValid().static intndeviceNodeMask(long struct)Unsafe version ofdeviceNodeMask().static java.nio.ByteBufferndeviceUUID(long struct)Unsafe version ofdeviceUUID().static bytendeviceUUID(long struct, int index)Unsafe version ofdeviceUUID.static java.nio.ByteBufferndriverUUID(long struct)Unsafe version ofdriverUUID().static bytendriverUUID(long struct, int index)Unsafe version ofdriverUUID.static longnmaxMemoryAllocationSize(long struct)Unsafe version ofmaxMemoryAllocationSize().static intnmaxMultiviewInstanceIndex(long struct)Unsafe version ofmaxMultiviewInstanceIndex().static intnmaxMultiviewViewCount(long struct)Unsafe version ofmaxMultiviewViewCount().static intnmaxPerSetDescriptors(long struct)Unsafe version ofmaxPerSetDescriptors().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnpointClippingBehavior(long struct)Unsafe version ofpointClippingBehavior().static intnprotectedNoFault(long struct)Unsafe version ofprotectedNoFault().static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intnsubgroupQuadOperationsInAllStages(long struct)Unsafe version ofsubgroupQuadOperationsInAllStages().static intnsubgroupSize(long struct)Unsafe version ofsubgroupSize().static intnsubgroupSupportedOperations(long struct)Unsafe version ofsubgroupSupportedOperations().static intnsubgroupSupportedStages(long struct)Unsafe version ofsubgroupSupportedStages().longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceVulkan11PropertiespNext(long value)Sets the specified value to thepNext()field.intpointClippingBehavior()aVkPointClippingBehaviorvalue specifying the point clipping behavior supported by the implementation.booleanprotectedNoFault()specifies how an implementation behaves when an application attempts to write to unprotected memory in a protected queue operation, read from protected memory in an unprotected queue operation, or perform a query in a protected queue operation.VkPhysicalDeviceVulkan11Propertiesset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceVulkan11Propertiesset(VkPhysicalDeviceVulkan11Properties src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceVulkan11PropertiessType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceVulkan11PropertiessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIESvalue to thesType()field.booleansubgroupQuadOperationsInAllStages()a boolean specifying whether quad group operations are available in all stages, or are restricted to fragment and compute stages.intsubgroupSize()the default number of invocations in each subgroup.intsubgroupSupportedOperations()a bitmask ofVkSubgroupFeatureFlagBitsspecifying the sets of group operations with subgroup scope supported on this device.intsubgroupSupportedStages()a bitfield ofVkShaderStageFlagBitsdescribing the shader stages that group operations with subgroup scope are supported in.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, DEVICEUUID, DRIVERUUID, DEVICELUID, DEVICENODEMASK, DEVICELUIDVALID, SUBGROUPSIZE, SUBGROUPSUPPORTEDSTAGES, SUBGROUPSUPPORTEDOPERATIONS, SUBGROUPQUADOPERATIONSINALLSTAGES, POINTCLIPPINGBEHAVIOR, MAXMULTIVIEWVIEWCOUNT, MAXMULTIVIEWINSTANCEINDEX, PROTECTEDNOFAULT, MAXPERSETDESCRIPTORS, MAXMEMORYALLOCATIONSIZE
The struct member offsets.
-
-
Constructor Detail
-
VkPhysicalDeviceVulkan11Properties
public VkPhysicalDeviceVulkan11Properties(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceVulkan11Propertiesinstance at the current position of the specifiedByteBuffercontainer. 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
deviceUUID
public java.nio.ByteBuffer deviceUUID() public byte deviceUUID(int index)
an array ofUUID_SIZEuint8_tvalues representing a universally unique identifier for the device.
-
driverUUID
public java.nio.ByteBuffer driverUUID() public byte driverUUID(int index)
an array ofUUID_SIZEuint8_tvalues representing a universally unique identifier for the driver build in use by the device.
-
deviceLUID
public java.nio.ByteBuffer deviceLUID() public byte deviceLUID(int index)
an array ofLUID_SIZEuint8_tvalues representing a locally unique identifier for the device.
-
deviceNodeMask
public int deviceNodeMask()
auint32_tbitfield identifying the node within a linked device adapter corresponding to the device.
-
deviceLUIDValid
public boolean deviceLUIDValid()
-
subgroupSize
public int subgroupSize()
the default number of invocations in each subgroup.subgroupSizeis at least 1 if any of the physical device’s queues supportQUEUE_GRAPHICS_BITorQUEUE_COMPUTE_BIT.subgroupSizeis a power-of-two.
-
subgroupSupportedStages
public int subgroupSupportedStages()
a bitfield ofVkShaderStageFlagBitsdescribing the shader stages that group operations with subgroup scope are supported in.subgroupSupportedStageswill have theSHADER_STAGE_COMPUTE_BITbit set if any of the physical device’s queues supportQUEUE_COMPUTE_BIT.
-
subgroupSupportedOperations
public int subgroupSupportedOperations()
a bitmask ofVkSubgroupFeatureFlagBitsspecifying the sets of group operations with subgroup scope supported on this device.subgroupSupportedOperationswill have theSUBGROUP_FEATURE_BASIC_BITbit set if any of the physical device’s queues supportQUEUE_GRAPHICS_BITorQUEUE_COMPUTE_BIT.
-
subgroupQuadOperationsInAllStages
public boolean subgroupQuadOperationsInAllStages()
a boolean specifying whether quad group operations are available in all stages, or are restricted to fragment and compute stages.
-
pointClippingBehavior
public int pointClippingBehavior()
aVkPointClippingBehaviorvalue specifying the point clipping behavior supported by the implementation.
-
maxMultiviewViewCount
public int maxMultiviewViewCount()
one greater than the maximum view index that can be used in a subpass.
-
maxMultiviewInstanceIndex
public int maxMultiviewInstanceIndex()
the maximum valid value of instance index allowed to be generated by a drawing command recorded within a subpass of a multiview render pass instance.
-
protectedNoFault
public boolean protectedNoFault()
specifies how an implementation behaves when an application attempts to write to unprotected memory in a protected queue operation, read from protected memory in an unprotected queue operation, or perform a query in a protected queue operation. If this limit isTRUE, such writes will be discarded or have undefined values written, reads and queries will return undefined values. If this limit isFALSE, applications must not perform these operations. See memory-protected-access-rules for more information.
-
maxPerSetDescriptors
public int maxPerSetDescriptors()
a maximum number of descriptors (summed over all descriptor types) in a single descriptor set that is guaranteed to satisfy any implementation-dependent constraints on the size of a descriptor set itself. Applications can query whether a descriptor set that goes beyond this limit is supported usingGetDescriptorSetLayoutSupport.
-
maxMemoryAllocationSize
public long maxMemoryAllocationSize()
the maximum size of a memory allocation that can be created, even if there is more space available in the heap.
-
sType
public VkPhysicalDeviceVulkan11Properties sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceVulkan11Properties sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIESvalue to thesType()field.
-
pNext
public VkPhysicalDeviceVulkan11Properties pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceVulkan11Properties set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceVulkan11Properties set(VkPhysicalDeviceVulkan11Properties src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceVulkan11Properties malloc()
Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceVulkan11Properties calloc()
Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceVulkan11Properties create()
Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceVulkan11Properties create(long address)
Returns a newVkPhysicalDeviceVulkan11Propertiesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceVulkan11Properties createSafe(long address)
-
malloc
public static VkPhysicalDeviceVulkan11Properties.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceVulkan11Properties.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVulkan11Properties.Buffer create(int capacity)
Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVulkan11Properties.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceVulkan11Properties.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceVulkan11Properties.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceVulkan11Properties malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceVulkan11Properties calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVulkan11Propertiesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceVulkan11Properties.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceVulkan11Properties.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVulkan11Properties.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
ndeviceUUID
public static java.nio.ByteBuffer ndeviceUUID(long struct)
Unsafe version ofdeviceUUID().
-
ndeviceUUID
public static byte ndeviceUUID(long struct, int index)Unsafe version ofdeviceUUID.
-
ndriverUUID
public static java.nio.ByteBuffer ndriverUUID(long struct)
Unsafe version ofdriverUUID().
-
ndriverUUID
public static byte ndriverUUID(long struct, int index)Unsafe version ofdriverUUID.
-
ndeviceLUID
public static java.nio.ByteBuffer ndeviceLUID(long struct)
Unsafe version ofdeviceLUID().
-
ndeviceLUID
public static byte ndeviceLUID(long struct, int index)Unsafe version ofdeviceLUID.
-
ndeviceNodeMask
public static int ndeviceNodeMask(long struct)
Unsafe version ofdeviceNodeMask().
-
ndeviceLUIDValid
public static int ndeviceLUIDValid(long struct)
Unsafe version ofdeviceLUIDValid().
-
nsubgroupSize
public static int nsubgroupSize(long struct)
Unsafe version ofsubgroupSize().
-
nsubgroupSupportedStages
public static int nsubgroupSupportedStages(long struct)
Unsafe version ofsubgroupSupportedStages().
-
nsubgroupSupportedOperations
public static int nsubgroupSupportedOperations(long struct)
Unsafe version ofsubgroupSupportedOperations().
-
nsubgroupQuadOperationsInAllStages
public static int nsubgroupQuadOperationsInAllStages(long struct)
Unsafe version ofsubgroupQuadOperationsInAllStages().
-
npointClippingBehavior
public static int npointClippingBehavior(long struct)
Unsafe version ofpointClippingBehavior().
-
nmaxMultiviewViewCount
public static int nmaxMultiviewViewCount(long struct)
Unsafe version ofmaxMultiviewViewCount().
-
nmaxMultiviewInstanceIndex
public static int nmaxMultiviewInstanceIndex(long struct)
Unsafe version ofmaxMultiviewInstanceIndex().
-
nprotectedNoFault
public static int nprotectedNoFault(long struct)
Unsafe version ofprotectedNoFault().
-
nmaxPerSetDescriptors
public static int nmaxPerSetDescriptors(long struct)
Unsafe version ofmaxPerSetDescriptors().
-
nmaxMemoryAllocationSize
public static long nmaxMemoryAllocationSize(long struct)
Unsafe version ofmaxMemoryAllocationSize().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-