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