public class VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceYcbcrImageArraysFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceYcbcrImageArraysFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
ycbcrImageArrays – indicates that the implementation supports creating images with a format that requires Y’CBCR conversion and has multiple array layers.
struct VkPhysicalDeviceYcbcrImageArraysFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 ycbcrImageArrays;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer
An array of
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
YCBCRIMAGEARRAYS
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT 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 int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nycbcrImageArrays(long struct)
Unsafe version of
ycbcrImageArrays(). |
static void |
nycbcrImageArrays(long struct,
int value)
Unsafe version of
ycbcrImageArrays. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
set(int sType,
long pNext,
boolean ycbcrImageArrays)
Initializes this struct with the specified values.
|
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
set(VkPhysicalDeviceYcbcrImageArraysFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
ycbcrImageArrays()
Returns the value of the
ycbcrImageArrays field. |
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT |
ycbcrImageArrays(boolean value)
Sets the specified value to the
ycbcrImageArrays 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 YCBCRIMAGEARRAYS
public VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT 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 boolean ycbcrImageArrays()
ycbcrImageArrays field.public VkPhysicalDeviceYcbcrImageArraysFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceYcbcrImageArraysFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceYcbcrImageArraysFeaturesEXT ycbcrImageArrays(boolean value)
ycbcrImageArrays field.public VkPhysicalDeviceYcbcrImageArraysFeaturesEXT set(int sType, long pNext, boolean ycbcrImageArrays)
public VkPhysicalDeviceYcbcrImageArraysFeaturesEXT set(VkPhysicalDeviceYcbcrImageArraysFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT malloc()
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT calloc()
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT create()
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT create(long address)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT mallocStack()
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT callocStack()
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.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 int nycbcrImageArrays(long struct)
ycbcrImageArrays().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nycbcrImageArrays(long struct,
int value)
ycbcrImageArrays.Copyright LWJGL. All Rights Reserved. License terms.