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