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