public class VkPhysicalDeviceGroupPropertiesKHR extends VkPhysicalDeviceGroupProperties
VkPhysicalDeviceGroupProperties.
struct VkPhysicalDeviceGroupPropertiesKHR {
VkStructureType sType;
void * pNext;
uint32_t physicalDeviceCount;
VkPhysicalDevice physicalDevices[VK_MAX_DEVICE_GROUP_SIZE];
VkBool32 subsetAllocation;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceGroupPropertiesKHR.Buffer
An array of
VkPhysicalDeviceGroupPropertiesKHR structs. |
ALIGNOF, PHYSICALDEVICECOUNT, PHYSICALDEVICES, PNEXT, SIZEOF, STYPE, SUBSETALLOCATION| Constructor and Description |
|---|
VkPhysicalDeviceGroupPropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceGroupPropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceGroupPropertiesKHR |
calloc()
Returns a new
VkPhysicalDeviceGroupPropertiesKHR instance allocated with memCalloc. |
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceGroupPropertiesKHR |
callocStack()
Returns a new
VkPhysicalDeviceGroupPropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceGroupPropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceGroupPropertiesKHR |
create()
Returns a new
VkPhysicalDeviceGroupPropertiesKHR instance allocated with BufferUtils. |
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceGroupPropertiesKHR |
create(long address)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR instance for the specified memory address. |
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceGroupPropertiesKHR |
createSafe(long address)
|
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceGroupPropertiesKHR |
malloc()
Returns a new
VkPhysicalDeviceGroupPropertiesKHR instance allocated with memAlloc. |
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceGroupPropertiesKHR |
mallocStack()
Returns a new
VkPhysicalDeviceGroupPropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceGroupPropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceGroupPropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceGroupPropertiesKHR instance allocated on the specified MemoryStack. |
VkPhysicalDeviceGroupPropertiesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceGroupPropertiesKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceGroupPropertiesKHR |
set(VkPhysicalDeviceGroupPropertiesKHR src)
Copies the specified struct data to this struct.
|
VkPhysicalDeviceGroupPropertiesKHR |
sType(int value)
Sets the specified value to the
sType field. |
nphysicalDeviceCount, nphysicalDevices, nphysicalDevices, npNext, npNext, nsType, nsType, nsubsetAllocation, physicalDeviceCount, physicalDevices, physicalDevices, pNext, set, sizeof, sType, subsetAllocationpublic VkPhysicalDeviceGroupPropertiesKHR(java.nio.ByteBuffer container)
VkPhysicalDeviceGroupPropertiesKHR 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 VkPhysicalDeviceGroupPropertiesKHR sType(int value)
sType field.sType in class VkPhysicalDeviceGroupPropertiespublic VkPhysicalDeviceGroupPropertiesKHR pNext(long value)
pNext field.pNext in class VkPhysicalDeviceGroupPropertiespublic VkPhysicalDeviceGroupPropertiesKHR set(int sType, long pNext)
set in class VkPhysicalDeviceGroupPropertiespublic VkPhysicalDeviceGroupPropertiesKHR set(VkPhysicalDeviceGroupPropertiesKHR src)
src - the source structpublic static VkPhysicalDeviceGroupPropertiesKHR malloc()
VkPhysicalDeviceGroupPropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceGroupPropertiesKHR calloc()
VkPhysicalDeviceGroupPropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceGroupPropertiesKHR create()
VkPhysicalDeviceGroupPropertiesKHR instance allocated with BufferUtils.public static VkPhysicalDeviceGroupPropertiesKHR create(long address)
VkPhysicalDeviceGroupPropertiesKHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceGroupPropertiesKHR createSafe(long address)
public static VkPhysicalDeviceGroupPropertiesKHR.Buffer malloc(int capacity)
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceGroupPropertiesKHR.Buffer calloc(int capacity)
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceGroupPropertiesKHR.Buffer create(int capacity)
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceGroupPropertiesKHR.Buffer create(long address, int capacity)
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceGroupPropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceGroupPropertiesKHR mallocStack()
VkPhysicalDeviceGroupPropertiesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceGroupPropertiesKHR callocStack()
VkPhysicalDeviceGroupPropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceGroupPropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceGroupPropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceGroupPropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceGroupPropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceGroupPropertiesKHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceGroupPropertiesKHR.Buffer callocStack(int capacity)
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceGroupPropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceGroupPropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceGroupPropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.