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