Package org.lwjgl.vulkan
Class VkPhysicalDeviceVariablePointerFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceVariablePointersFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceVariablePointerFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceVariablePointerFeatures extends VkPhysicalDeviceVariablePointersFeatures
SeeVkPhysicalDeviceVariablePointersFeatures.Layout
struct VkPhysicalDeviceVariablePointerFeatures { VkStructureType sType; void * pNext; VkBool32 variablePointersStorageBuffer; VkBool32 variablePointers; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceVariablePointerFeatures.BufferAn array ofVkPhysicalDeviceVariablePointerFeaturesstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDeviceVariablePointersFeatures
ALIGNOF, PNEXT, SIZEOF, STYPE, VARIABLEPOINTERS, VARIABLEPOINTERSSTORAGEBUFFER
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceVariablePointerFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceVariablePointerFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceVariablePointerFeaturescalloc()Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceVariablePointerFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceVariablePointerFeaturescallocStack()Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVariablePointerFeatures.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVariablePointerFeatures.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVariablePointerFeaturescallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVariablePointerFeaturescreate()Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceVariablePointerFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceVariablePointerFeaturescreate(long address)Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance for the specified memory address.static VkPhysicalDeviceVariablePointerFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceVariablePointerFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceVariablePointerFeaturescreateSafe(long address)static VkPhysicalDeviceVariablePointerFeatures.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceVariablePointerFeaturesmalloc()Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceVariablePointerFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceVariablePointerFeaturesmallocStack()Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceVariablePointerFeatures.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceVariablePointerFeatures.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceVariablePointerFeaturesmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceVariablePointerFeaturespNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceVariablePointerFeaturesset(int sType, long pNext, boolean variablePointersStorageBuffer, boolean variablePointers)Initializes this struct with the specified values.VkPhysicalDeviceVariablePointerFeaturesset(VkPhysicalDeviceVariablePointerFeatures src)Copies the specified struct data to this struct.VkPhysicalDeviceVariablePointerFeaturessType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceVariablePointerFeaturesvariablePointers(boolean value)Sets the specified value to thevariablePointersfield.VkPhysicalDeviceVariablePointerFeaturesvariablePointersStorageBuffer(boolean value)Sets the specified value to thevariablePointersStorageBufferfield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceVariablePointersFeatures
npNext, npNext, nsType, nsType, nvariablePointers, nvariablePointers, nvariablePointersStorageBuffer, nvariablePointersStorageBuffer, pNext, set, sizeof, sType, variablePointers, variablePointersStorageBuffer
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceVariablePointerFeatures
public VkPhysicalDeviceVariablePointerFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceVariablePointerFeaturesinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sType
public VkPhysicalDeviceVariablePointerFeatures sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceVariablePointersFeatures
-
pNext
public VkPhysicalDeviceVariablePointerFeatures pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceVariablePointersFeatures
-
variablePointersStorageBuffer
public VkPhysicalDeviceVariablePointerFeatures variablePointersStorageBuffer(boolean value)
Sets the specified value to thevariablePointersStorageBufferfield.- Overrides:
variablePointersStorageBufferin classVkPhysicalDeviceVariablePointersFeatures
-
variablePointers
public VkPhysicalDeviceVariablePointerFeatures variablePointers(boolean value)
Sets the specified value to thevariablePointersfield.- Overrides:
variablePointersin classVkPhysicalDeviceVariablePointersFeatures
-
set
public VkPhysicalDeviceVariablePointerFeatures set(int sType, long pNext, boolean variablePointersStorageBuffer, boolean variablePointers)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceVariablePointersFeatures
-
set
public VkPhysicalDeviceVariablePointerFeatures set(VkPhysicalDeviceVariablePointerFeatures src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceVariablePointerFeatures malloc()
Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceVariablePointerFeatures calloc()
Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceVariablePointerFeatures create()
Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceVariablePointerFeatures create(long address)
Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceVariablePointerFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceVariablePointerFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceVariablePointerFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVariablePointerFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVariablePointerFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceVariablePointerFeatures.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceVariablePointerFeatures.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceVariablePointerFeatures mallocStack()
Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceVariablePointerFeatures callocStack()
Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceVariablePointerFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceVariablePointerFeatures callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointerFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceVariablePointerFeatures.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceVariablePointerFeatures.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceVariablePointerFeatures.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceVariablePointerFeatures.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointerFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-