public class VkDedicatedAllocationBufferCreateInfoNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.dedicatedAllocation – specifies whether the buffer will have a dedicated allocation bound to it.
struct VkDedicatedAllocationBufferCreateInfoNV {
VkStructureType sType;
void const * pNext;
VkBool32 dedicatedAllocation;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDedicatedAllocationBufferCreateInfoNV.Buffer
An array of
VkDedicatedAllocationBufferCreateInfoNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DEDICATEDALLOCATION
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDedicatedAllocationBufferCreateInfoNV(java.nio.ByteBuffer container)
Creates a
VkDedicatedAllocationBufferCreateInfoNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDedicatedAllocationBufferCreateInfoNV |
calloc()
Returns a new
VkDedicatedAllocationBufferCreateInfoNV instance allocated with memCalloc. |
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
calloc(int capacity)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated with memCalloc. |
static VkDedicatedAllocationBufferCreateInfoNV |
callocStack()
Returns a new
VkDedicatedAllocationBufferCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
callocStack(int capacity)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDedicatedAllocationBufferCreateInfoNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDedicatedAllocationBufferCreateInfoNV |
create()
Returns a new
VkDedicatedAllocationBufferCreateInfoNV instance allocated with BufferUtils. |
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
create(int capacity)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated with BufferUtils. |
static VkDedicatedAllocationBufferCreateInfoNV |
create(long address)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV instance for the specified memory address. |
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
create(long address,
int capacity)
Create a
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance at the specified memory. |
static VkDedicatedAllocationBufferCreateInfoNV |
createSafe(long address)
|
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
createSafe(long address,
int capacity)
|
boolean |
dedicatedAllocation()
Returns the value of the
dedicatedAllocation field. |
VkDedicatedAllocationBufferCreateInfoNV |
dedicatedAllocation(boolean value)
Sets the specified value to the
dedicatedAllocation field. |
static VkDedicatedAllocationBufferCreateInfoNV |
malloc()
Returns a new
VkDedicatedAllocationBufferCreateInfoNV instance allocated with memAlloc. |
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
malloc(int capacity)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated with memAlloc. |
static VkDedicatedAllocationBufferCreateInfoNV |
mallocStack()
Returns a new
VkDedicatedAllocationBufferCreateInfoNV instance allocated on the thread-local MemoryStack. |
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
mallocStack(int capacity)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkDedicatedAllocationBufferCreateInfoNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated on the specified MemoryStack. |
static VkDedicatedAllocationBufferCreateInfoNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDedicatedAllocationBufferCreateInfoNV instance allocated on the specified MemoryStack. |
static int |
ndedicatedAllocation(long struct)
Unsafe version of
dedicatedAllocation(). |
static void |
ndedicatedAllocation(long struct,
int value)
Unsafe version of
dedicatedAllocation. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkDedicatedAllocationBufferCreateInfoNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDedicatedAllocationBufferCreateInfoNV |
set(int sType,
long pNext,
boolean dedicatedAllocation)
Initializes this struct with the specified values.
|
VkDedicatedAllocationBufferCreateInfoNV |
set(VkDedicatedAllocationBufferCreateInfoNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDedicatedAllocationBufferCreateInfoNV |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int DEDICATEDALLOCATION
public VkDedicatedAllocationBufferCreateInfoNV(java.nio.ByteBuffer container)
VkDedicatedAllocationBufferCreateInfoNV 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 int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean dedicatedAllocation()
dedicatedAllocation field.public VkDedicatedAllocationBufferCreateInfoNV sType(int value)
sType field.public VkDedicatedAllocationBufferCreateInfoNV pNext(long value)
pNext field.public VkDedicatedAllocationBufferCreateInfoNV dedicatedAllocation(boolean value)
dedicatedAllocation field.public VkDedicatedAllocationBufferCreateInfoNV set(int sType, long pNext, boolean dedicatedAllocation)
public VkDedicatedAllocationBufferCreateInfoNV set(VkDedicatedAllocationBufferCreateInfoNV src)
src - the source structpublic static VkDedicatedAllocationBufferCreateInfoNV malloc()
VkDedicatedAllocationBufferCreateInfoNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkDedicatedAllocationBufferCreateInfoNV calloc()
VkDedicatedAllocationBufferCreateInfoNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkDedicatedAllocationBufferCreateInfoNV create()
VkDedicatedAllocationBufferCreateInfoNV instance allocated with BufferUtils.public static VkDedicatedAllocationBufferCreateInfoNV create(long address)
VkDedicatedAllocationBufferCreateInfoNV instance for the specified memory address.@Nullable public static VkDedicatedAllocationBufferCreateInfoNV createSafe(long address)
public static VkDedicatedAllocationBufferCreateInfoNV.Buffer malloc(int capacity)
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDedicatedAllocationBufferCreateInfoNV.Buffer calloc(int capacity)
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDedicatedAllocationBufferCreateInfoNV.Buffer create(int capacity)
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDedicatedAllocationBufferCreateInfoNV.Buffer create(long address, int capacity)
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDedicatedAllocationBufferCreateInfoNV.Buffer createSafe(long address, int capacity)
public static VkDedicatedAllocationBufferCreateInfoNV mallocStack()
VkDedicatedAllocationBufferCreateInfoNV instance allocated on the thread-local MemoryStack.public static VkDedicatedAllocationBufferCreateInfoNV callocStack()
VkDedicatedAllocationBufferCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDedicatedAllocationBufferCreateInfoNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkDedicatedAllocationBufferCreateInfoNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDedicatedAllocationBufferCreateInfoNV callocStack(org.lwjgl.system.MemoryStack stack)
VkDedicatedAllocationBufferCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDedicatedAllocationBufferCreateInfoNV.Buffer mallocStack(int capacity)
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDedicatedAllocationBufferCreateInfoNV.Buffer callocStack(int capacity)
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDedicatedAllocationBufferCreateInfoNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDedicatedAllocationBufferCreateInfoNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDedicatedAllocationBufferCreateInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ndedicatedAllocation(long struct)
dedicatedAllocation().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndedicatedAllocation(long struct,
int value)
dedicatedAllocation.Copyright LWJGL. All Rights Reserved. License terms.