public class VkMemoryRequirements2KHR extends VkMemoryRequirements2
VkMemoryRequirements2.
struct VkMemoryRequirements2KHR {
VkStructureType sType;
void * pNext;
VkMemoryRequirements memoryRequirements;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkMemoryRequirements2KHR.Buffer
An array of
VkMemoryRequirements2KHR structs. |
ALIGNOF, MEMORYREQUIREMENTS, PNEXT, SIZEOF, STYPE| Constructor and Description |
|---|
VkMemoryRequirements2KHR(java.nio.ByteBuffer container)
Creates a
VkMemoryRequirements2KHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkMemoryRequirements2KHR |
calloc()
Returns a new
VkMemoryRequirements2KHR instance allocated with memCalloc. |
static VkMemoryRequirements2KHR.Buffer |
calloc(int capacity)
Returns a new
VkMemoryRequirements2KHR.Buffer instance allocated with memCalloc. |
static VkMemoryRequirements2KHR |
callocStack()
Returns a new
VkMemoryRequirements2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMemoryRequirements2KHR.Buffer |
callocStack(int capacity)
Returns a new
VkMemoryRequirements2KHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMemoryRequirements2KHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryRequirements2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMemoryRequirements2KHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryRequirements2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMemoryRequirements2KHR |
create()
Returns a new
VkMemoryRequirements2KHR instance allocated with BufferUtils. |
static VkMemoryRequirements2KHR.Buffer |
create(int capacity)
Returns a new
VkMemoryRequirements2KHR.Buffer instance allocated with BufferUtils. |
static VkMemoryRequirements2KHR |
create(long address)
Returns a new
VkMemoryRequirements2KHR instance for the specified memory address. |
static VkMemoryRequirements2KHR.Buffer |
create(long address,
int capacity)
Create a
VkMemoryRequirements2KHR.Buffer instance at the specified memory. |
static VkMemoryRequirements2KHR |
createSafe(long address)
|
static VkMemoryRequirements2KHR.Buffer |
createSafe(long address,
int capacity)
|
static VkMemoryRequirements2KHR |
malloc()
Returns a new
VkMemoryRequirements2KHR instance allocated with memAlloc. |
static VkMemoryRequirements2KHR.Buffer |
malloc(int capacity)
Returns a new
VkMemoryRequirements2KHR.Buffer instance allocated with memAlloc. |
static VkMemoryRequirements2KHR |
mallocStack()
Returns a new
VkMemoryRequirements2KHR instance allocated on the thread-local MemoryStack. |
static VkMemoryRequirements2KHR.Buffer |
mallocStack(int capacity)
Returns a new
VkMemoryRequirements2KHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkMemoryRequirements2KHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryRequirements2KHR.Buffer instance allocated on the specified MemoryStack. |
static VkMemoryRequirements2KHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryRequirements2KHR instance allocated on the specified MemoryStack. |
VkMemoryRequirements2KHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkMemoryRequirements2KHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkMemoryRequirements2KHR |
set(VkMemoryRequirements2KHR src)
Copies the specified struct data to this struct.
|
VkMemoryRequirements2KHR |
sType(int value)
Sets the specified value to the
sType field. |
memoryRequirements, nmemoryRequirements, npNext, npNext, nsType, nsType, pNext, set, sizeof, sTypepublic VkMemoryRequirements2KHR(java.nio.ByteBuffer container)
VkMemoryRequirements2KHR 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 VkMemoryRequirements2KHR sType(int value)
sType field.sType in class VkMemoryRequirements2public VkMemoryRequirements2KHR pNext(long value)
pNext field.pNext in class VkMemoryRequirements2public VkMemoryRequirements2KHR set(int sType, long pNext)
set in class VkMemoryRequirements2public VkMemoryRequirements2KHR set(VkMemoryRequirements2KHR src)
src - the source structpublic static VkMemoryRequirements2KHR malloc()
VkMemoryRequirements2KHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkMemoryRequirements2KHR calloc()
VkMemoryRequirements2KHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkMemoryRequirements2KHR create()
VkMemoryRequirements2KHR instance allocated with BufferUtils.public static VkMemoryRequirements2KHR create(long address)
VkMemoryRequirements2KHR instance for the specified memory address.@Nullable public static VkMemoryRequirements2KHR createSafe(long address)
public static VkMemoryRequirements2KHR.Buffer malloc(int capacity)
VkMemoryRequirements2KHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMemoryRequirements2KHR.Buffer calloc(int capacity)
VkMemoryRequirements2KHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMemoryRequirements2KHR.Buffer create(int capacity)
VkMemoryRequirements2KHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkMemoryRequirements2KHR.Buffer create(long address, int capacity)
VkMemoryRequirements2KHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkMemoryRequirements2KHR.Buffer createSafe(long address, int capacity)
public static VkMemoryRequirements2KHR mallocStack()
VkMemoryRequirements2KHR instance allocated on the thread-local MemoryStack.public static VkMemoryRequirements2KHR callocStack()
VkMemoryRequirements2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkMemoryRequirements2KHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkMemoryRequirements2KHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkMemoryRequirements2KHR callocStack(org.lwjgl.system.MemoryStack stack)
VkMemoryRequirements2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkMemoryRequirements2KHR.Buffer mallocStack(int capacity)
VkMemoryRequirements2KHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkMemoryRequirements2KHR.Buffer callocStack(int capacity)
VkMemoryRequirements2KHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkMemoryRequirements2KHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMemoryRequirements2KHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkMemoryRequirements2KHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMemoryRequirements2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.