Package org.lwjgl.vulkan
Class VkPhysicalDeviceVariablePointerFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceVariablePointersFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceVariablePointerFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceVariablePointerFeaturesKHR extends VkPhysicalDeviceVariablePointersFeatures
SeeVkPhysicalDeviceVariablePointersFeatures.Layout
struct VkPhysicalDeviceVariablePointerFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 variablePointersStorageBuffer; VkBool32 variablePointers; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceVariablePointerFeaturesKHR.BufferAn array ofVkPhysicalDeviceVariablePointerFeaturesKHRstructs.
-
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 VkPhysicalDeviceVariablePointerFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceVariablePointerFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceVariablePointerFeaturesKHRcalloc()Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceVariablePointerFeaturesKHRcallocStack()Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVariablePointerFeaturesKHR.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVariablePointerFeaturesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVariablePointerFeaturesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceVariablePointerFeaturesKHRcreate()Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceVariablePointerFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceVariablePointerFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceVariablePointerFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceVariablePointerFeaturesKHRmalloc()Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceVariablePointerFeaturesKHRmallocStack()Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceVariablePointerFeaturesKHR.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceVariablePointerFeaturesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceVariablePointerFeaturesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceVariablePointerFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceVariablePointerFeaturesKHRset(int sType, long pNext, boolean variablePointersStorageBuffer, boolean variablePointers)Initializes this struct with the specified values.VkPhysicalDeviceVariablePointerFeaturesKHRset(VkPhysicalDeviceVariablePointerFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceVariablePointerFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceVariablePointerFeaturesKHRvariablePointers(boolean value)Sets the specified value to thevariablePointersfield.VkPhysicalDeviceVariablePointerFeaturesKHRvariablePointersStorageBuffer(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
-
VkPhysicalDeviceVariablePointerFeaturesKHR
public VkPhysicalDeviceVariablePointerFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceVariablePointerFeaturesKHRinstance 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 VkPhysicalDeviceVariablePointerFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceVariablePointersFeatures
-
pNext
public VkPhysicalDeviceVariablePointerFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceVariablePointersFeatures
-
variablePointersStorageBuffer
public VkPhysicalDeviceVariablePointerFeaturesKHR variablePointersStorageBuffer(boolean value)
Sets the specified value to thevariablePointersStorageBufferfield.- Overrides:
variablePointersStorageBufferin classVkPhysicalDeviceVariablePointersFeatures
-
variablePointers
public VkPhysicalDeviceVariablePointerFeaturesKHR variablePointers(boolean value)
Sets the specified value to thevariablePointersfield.- Overrides:
variablePointersin classVkPhysicalDeviceVariablePointersFeatures
-
set
public VkPhysicalDeviceVariablePointerFeaturesKHR set(int sType, long pNext, boolean variablePointersStorageBuffer, boolean variablePointers)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceVariablePointersFeatures
-
set
public VkPhysicalDeviceVariablePointerFeaturesKHR set(VkPhysicalDeviceVariablePointerFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceVariablePointerFeaturesKHR malloc()
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceVariablePointerFeaturesKHR calloc()
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceVariablePointerFeaturesKHR create()
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceVariablePointerFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceVariablePointerFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceVariablePointerFeaturesKHR mallocStack()
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceVariablePointerFeaturesKHR callocStack()
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceVariablePointerFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceVariablePointerFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceVariablePointerFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointerFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-