Package org.lwjgl.vulkan
Class VkPhysicalDeviceVariablePointersFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceVariablePointersFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceVariablePointersFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceVariablePointersFeaturesKHR extends VkPhysicalDeviceVariablePointersFeatures
SeeVkPhysicalDeviceVariablePointersFeatures
.Layout
struct VkPhysicalDeviceVariablePointersFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 variablePointersStorageBuffer; VkBool32 variablePointers; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
An array ofVkPhysicalDeviceVariablePointersFeaturesKHR
structs.
-
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 VkPhysicalDeviceVariablePointersFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceVariablePointersFeaturesKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceVariablePointersFeaturesKHR
calloc()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated withmemCalloc
.static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceVariablePointersFeaturesKHR
callocStack()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceVariablePointersFeaturesKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceVariablePointersFeaturesKHR
create()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated withBufferUtils
.static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceVariablePointersFeaturesKHR
create(long address)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance for the specified memory address.static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance at the specified memory.static VkPhysicalDeviceVariablePointersFeaturesKHR
createSafe(long address)
static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceVariablePointersFeaturesKHR
malloc()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated withmemAlloc
.static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceVariablePointersFeaturesKHR
mallocStack()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceVariablePointersFeaturesKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated on the specifiedMemoryStack
.VkPhysicalDeviceVariablePointersFeaturesKHR
pNext(long value)
Sets the specified value to thepNext
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 thesType
field.VkPhysicalDeviceVariablePointersFeaturesKHR
variablePointers(boolean value)
Sets the specified value to thevariablePointers
field.VkPhysicalDeviceVariablePointersFeaturesKHR
variablePointersStorageBuffer(boolean value)
Sets the specified value to thevariablePointersStorageBuffer
field.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceVariablePointersFeatures
npNext, npNext, nsType, nsType, nvariablePointers, nvariablePointers, nvariablePointersStorageBuffer, nvariablePointersStorageBuffer, pNext, set, sizeof, sType, variablePointers, variablePointersStorageBuffer
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceVariablePointersFeaturesKHR
public VkPhysicalDeviceVariablePointersFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceVariablePointersFeaturesKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sType
public VkPhysicalDeviceVariablePointersFeaturesKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkPhysicalDeviceVariablePointersFeatures
-
pNext
public VkPhysicalDeviceVariablePointersFeaturesKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDeviceVariablePointersFeatures
-
variablePointersStorageBuffer
public VkPhysicalDeviceVariablePointersFeaturesKHR variablePointersStorageBuffer(boolean value)
Sets the specified value to thevariablePointersStorageBuffer
field.- Overrides:
variablePointersStorageBuffer
in classVkPhysicalDeviceVariablePointersFeatures
-
variablePointers
public VkPhysicalDeviceVariablePointersFeaturesKHR variablePointers(boolean value)
Sets the specified value to thevariablePointers
field.- Overrides:
variablePointers
in classVkPhysicalDeviceVariablePointersFeatures
-
set
public VkPhysicalDeviceVariablePointersFeaturesKHR set(int sType, long pNext, boolean variablePointersStorageBuffer, boolean variablePointers)
Initializes this struct with the specified values.- Overrides:
set
in classVkPhysicalDeviceVariablePointersFeatures
-
set
public VkPhysicalDeviceVariablePointersFeaturesKHR set(VkPhysicalDeviceVariablePointersFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceVariablePointersFeaturesKHR malloc()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceVariablePointersFeaturesKHR calloc()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceVariablePointersFeaturesKHR create()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceVariablePointersFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceVariablePointersFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceVariablePointersFeaturesKHR mallocStack()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceVariablePointersFeaturesKHR callocStack()
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceVariablePointersFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceVariablePointersFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceVariablePointersFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceVariablePointersFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-