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