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