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