Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceVulkan11Properties

extends Struct<VkPhysicalDeviceVulkan11Properties>
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 for functionality promoted to Vulkan 1.1.
Description

If the VkPhysicalDeviceVulkan11Properties structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

These properties correspond to Vulkan 1.1 functionality.

The members of VkPhysicalDeviceVulkan11Properties have the same values as the corresponding members of VkPhysicalDeviceIDProperties, VkPhysicalDeviceSubgroupProperties, VkPhysicalDevicePointClippingProperties, VkPhysicalDeviceMultiviewProperties, VkPhysicalDeviceProtectedMemoryProperties, and VkPhysicalDeviceMaintenance3Properties.

Valid Usage (Implicit)

Layout


struct VkPhysicalDeviceVulkan11Properties {
    VkStructureType sType;
    void * pNext;
    uint8_t deviceUUID[VK_UUID_SIZE];
    uint8_t driverUUID[VK_UUID_SIZE];
    uint8_t deviceLUID[VK_LUID_SIZE];
    uint32_t deviceNodeMask;
    VkBool32 deviceLUIDValid;
    uint32_t subgroupSize;
    VkShaderStageFlags subgroupSupportedStages;
    VkSubgroupFeatureFlags subgroupSupportedOperations;
    VkBool32 subgroupQuadOperationsInAllStages;
    VkPointClippingBehavior pointClippingBehavior;
    uint32_t maxMultiviewViewCount;
    uint32_t maxMultiviewInstanceIndex;
    VkBool32 protectedNoFault;
    uint32_t maxPerSetDescriptors;
    VkDeviceSize maxMemoryAllocationSize;
}

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
DEVICELUID

The struct member offsets.

public static final int
DEVICELUIDVALID

The struct member offsets.

public static final int
DEVICENODEMASK

The struct member offsets.

public static final int
DEVICEUUID

The struct member offsets.

public static final int
DRIVERUUID

The struct member offsets.

public static final int
MAXMEMORYALLOCATIONSIZE

The struct member offsets.

public static final int
MAXMULTIVIEWINSTANCEINDEX

The struct member offsets.

public static final int
MAXMULTIVIEWVIEWCOUNT

The struct member offsets.

public static final int
MAXPERSETDESCRIPTORS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
POINTCLIPPINGBEHAVIOR

The struct member offsets.

public static final int
PROTECTEDNOFAULT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

public static final int
SUBGROUPQUADOPERATIONSINALLSTAGES

The struct member offsets.

public static final int
SUBGROUPSIZE

The struct member offsets.

public static final int
SUBGROUPSUPPORTEDOPERATIONS

The struct member offsets.

public static final int
SUBGROUPSUPPORTEDSTAGES

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceVulkan11Properties(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceVulkan11Properties
calloc()

Returns a new VkPhysicalDeviceVulkan11Properties instance allocated with memCalloc.

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

Returns a new VkPhysicalDeviceVulkan11Properties.Buffer instance allocated with memCalloc.

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

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

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

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

protected VkPhysicalDeviceVulkan11Properties
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 VkPhysicalDeviceVulkan11Properties
create()

Returns a new VkPhysicalDeviceVulkan11Properties instance allocated with BufferUtils.

public static VkPhysicalDeviceVulkan11Properties
create(long address)

Returns a new VkPhysicalDeviceVulkan11Properties instance for the specified memory address.

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

Returns a new VkPhysicalDeviceVulkan11Properties.Buffer instance allocated with BufferUtils.

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

Create a VkPhysicalDeviceVulkan11Properties.Buffer instance at the specified memory.

public static VkPhysicalDeviceVulkan11Properties
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public ByteBuffer
deviceLUID()

an array of LUID_SIZE uint8_t values representing a locally unique identifier for the device.

public byte
deviceLUID(int index)

an array of LUID_SIZE uint8_t values representing a locally unique identifier for the device.

public boolean
deviceLUIDValid()

a boolean value that will be TRUE if deviceLUID contains a valid LUID and deviceNodeMask contains a valid node mask, and FALSE if they do not.

public int
deviceNodeMask()

a uint32_t bitfield identifying the node within a linked device adapter corresponding to the device.

public ByteBuffer
deviceUUID()

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

public byte
deviceUUID(int index)

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

public ByteBuffer
driverUUID()

an array of UUID_SIZE uint8_t values representing a universally unique identifier for the driver build in use by the device.

public byte
driverUUID(int index)

an array of UUID_SIZE uint8_t values representing a universally unique identifier for the driver build in use by the device.

public static VkPhysicalDeviceVulkan11Properties
malloc()

Returns a new VkPhysicalDeviceVulkan11Properties instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceVulkan11Properties.Buffer instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceVulkan11Properties instance allocated on the specified MemoryStack.

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

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

public long
maxMemoryAllocationSize()

the maximum size of a memory allocation that can be created, even if there is more space available in the heap.

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.

public int
maxMultiviewViewCount()

one greater than the maximum view index that can be used in a subpass.

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.

public static ByteBuffer
ndeviceLUID(long struct)

Unsafe version of deviceLUID.

public static byte
ndeviceLUID(long struct, int index)

Unsafe version of deviceLUID.

public static int
ndeviceLUIDValid(long struct)

Unsafe version of deviceLUIDValid.

public static int
ndeviceNodeMask(long struct)

Unsafe version of deviceNodeMask.

public static ByteBuffer
ndeviceUUID(long struct)

Unsafe version of deviceUUID.

public static byte
ndeviceUUID(long struct, int index)

Unsafe version of deviceUUID.

public static ByteBuffer
ndriverUUID(long struct)

Unsafe version of driverUUID.

public static byte
ndriverUUID(long struct, int index)

Unsafe version of driverUUID.

public static long
nmaxMemoryAllocationSize(long struct)

Unsafe version of maxMemoryAllocationSize.

public static int
public static int
nmaxMultiviewViewCount(long struct)

Unsafe version of maxMultiviewViewCount.

public static int
nmaxPerSetDescriptors(long struct)

Unsafe version of maxPerSetDescriptors.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
npointClippingBehavior(long struct)

Unsafe version of pointClippingBehavior.

public static int
nprotectedNoFault(long struct)

Unsafe version of protectedNoFault.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
public static int
nsubgroupSize(long struct)

Unsafe version of subgroupSize.

public static int
public static int
nsubgroupSupportedStages(long struct)

Unsafe version of subgroupSupportedStages.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceVulkan11Properties
pNext(long value)

Sets the specified value to the pNext field.

public int
pointClippingBehavior()

a VkPointClippingBehavior value specifying the point clipping behavior supported by the implementation.

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.

public VkPhysicalDeviceVulkan11Properties
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkPhysicalDeviceVulkan11Properties

Returns:

this struct
set
(VkPhysicalDeviceVulkan11Properties
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 VkPhysicalDeviceVulkan11Properties
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceVulkan11Properties
public boolean
subgroupQuadOperationsInAllStages()

a boolean specifying whether quad group operations are available in all stages, or are restricted to fragment and compute stages.

public int
subgroupSize()

the default number of invocations in each subgroup.

public int
subgroupSupportedOperations()

a bitmask of VkSubgroupFeatureFlagBits specifying the sets of group operations with subgroup scope supported on this device.

public int
subgroupSupportedStages()

a bitfield of VkShaderStageFlagBits describing the shader stages that group operations with subgroup scope are supported in. subgroupSupportedStages will have the SHADER_STAGE_COMPUTE_BIT bit set if any of the physical device’s queues support QUEUE_COMPUTE_BIT.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate