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