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