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