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