public class VkPhysicalDeviceProperties2KHR extends VkPhysicalDeviceProperties2
VkPhysicalDeviceProperties2.
struct VkPhysicalDeviceProperties2KHR {
VkStructureType sType;
void * pNext;
VkPhysicalDeviceProperties properties;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceProperties2KHR.Buffer
An array of
VkPhysicalDeviceProperties2KHR structs. |
ALIGNOF, PNEXT, PROPERTIES, SIZEOF, STYPE| Constructor and Description |
|---|
VkPhysicalDeviceProperties2KHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceProperties2KHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceProperties2KHR |
calloc()
Returns a new
VkPhysicalDeviceProperties2KHR instance allocated with memCalloc. |
static VkPhysicalDeviceProperties2KHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceProperties2KHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceProperties2KHR |
callocStack()
Returns a new
VkPhysicalDeviceProperties2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceProperties2KHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceProperties2KHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceProperties2KHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceProperties2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceProperties2KHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceProperties2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceProperties2KHR |
create()
Returns a new
VkPhysicalDeviceProperties2KHR instance allocated with BufferUtils. |
static VkPhysicalDeviceProperties2KHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceProperties2KHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceProperties2KHR |
create(long address)
Returns a new
VkPhysicalDeviceProperties2KHR instance for the specified memory address. |
static VkPhysicalDeviceProperties2KHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceProperties2KHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceProperties2KHR |
createSafe(long address)
|
static VkPhysicalDeviceProperties2KHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceProperties2KHR |
malloc()
Returns a new
VkPhysicalDeviceProperties2KHR instance allocated with memAlloc. |
static VkPhysicalDeviceProperties2KHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceProperties2KHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceProperties2KHR |
mallocStack()
Returns a new
VkPhysicalDeviceProperties2KHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceProperties2KHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceProperties2KHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceProperties2KHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceProperties2KHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceProperties2KHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceProperties2KHR instance allocated on the specified MemoryStack. |
VkPhysicalDeviceProperties2KHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceProperties2KHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceProperties2KHR |
set(VkPhysicalDeviceProperties2KHR src)
Copies the specified struct data to this struct.
|
VkPhysicalDeviceProperties2KHR |
sType(int value)
Sets the specified value to the
sType field. |
npNext, npNext, nproperties, nsType, nsType, pNext, properties, set, sizeof, sTypepublic VkPhysicalDeviceProperties2KHR(java.nio.ByteBuffer container)
VkPhysicalDeviceProperties2KHR 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 VkPhysicalDeviceProperties2KHR sType(int value)
sType field.sType in class VkPhysicalDeviceProperties2public VkPhysicalDeviceProperties2KHR pNext(long value)
pNext field.pNext in class VkPhysicalDeviceProperties2public VkPhysicalDeviceProperties2KHR set(int sType, long pNext)
set in class VkPhysicalDeviceProperties2public VkPhysicalDeviceProperties2KHR set(VkPhysicalDeviceProperties2KHR src)
src - the source structpublic static VkPhysicalDeviceProperties2KHR malloc()
VkPhysicalDeviceProperties2KHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceProperties2KHR calloc()
VkPhysicalDeviceProperties2KHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceProperties2KHR create()
VkPhysicalDeviceProperties2KHR instance allocated with BufferUtils.public static VkPhysicalDeviceProperties2KHR create(long address)
VkPhysicalDeviceProperties2KHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceProperties2KHR createSafe(long address)
public static VkPhysicalDeviceProperties2KHR.Buffer malloc(int capacity)
VkPhysicalDeviceProperties2KHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2KHR.Buffer calloc(int capacity)
VkPhysicalDeviceProperties2KHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2KHR.Buffer create(int capacity)
VkPhysicalDeviceProperties2KHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2KHR.Buffer create(long address, int capacity)
VkPhysicalDeviceProperties2KHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceProperties2KHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceProperties2KHR mallocStack()
VkPhysicalDeviceProperties2KHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceProperties2KHR callocStack()
VkPhysicalDeviceProperties2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceProperties2KHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceProperties2KHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceProperties2KHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceProperties2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceProperties2KHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceProperties2KHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2KHR.Buffer callocStack(int capacity)
VkPhysicalDeviceProperties2KHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceProperties2KHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceProperties2KHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceProperties2KHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceProperties2KHR.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.