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