public class VkSamplerYcbcrConversionInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFOconversion must be a valid VkSamplerYcbcrConversion handlesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.conversion – a VkSamplerYcbcrConversion handle created with CreateSamplerYcbcrConversion.
struct VkSamplerYcbcrConversionInfo {
VkStructureType sType;
void const * pNext;
VkSamplerYcbcrConversion conversion;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSamplerYcbcrConversionInfo.Buffer
An array of
VkSamplerYcbcrConversionInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CONVERSION
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkSamplerYcbcrConversionInfo(java.nio.ByteBuffer container)
Creates a
VkSamplerYcbcrConversionInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSamplerYcbcrConversionInfo |
calloc()
Returns a new
VkSamplerYcbcrConversionInfo instance allocated with memCalloc. |
static VkSamplerYcbcrConversionInfo.Buffer |
calloc(int capacity)
Returns a new
VkSamplerYcbcrConversionInfo.Buffer instance allocated with memCalloc. |
static VkSamplerYcbcrConversionInfo |
callocStack()
Returns a new
VkSamplerYcbcrConversionInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionInfo.Buffer |
callocStack(int capacity)
Returns a new
VkSamplerYcbcrConversionInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
long |
conversion()
Returns the value of the
conversion field. |
VkSamplerYcbcrConversionInfo |
conversion(long value)
Sets the specified value to the
conversion field. |
static VkSamplerYcbcrConversionInfo |
create()
Returns a new
VkSamplerYcbcrConversionInfo instance allocated with BufferUtils. |
static VkSamplerYcbcrConversionInfo.Buffer |
create(int capacity)
Returns a new
VkSamplerYcbcrConversionInfo.Buffer instance allocated with BufferUtils. |
static VkSamplerYcbcrConversionInfo |
create(long address)
Returns a new
VkSamplerYcbcrConversionInfo instance for the specified memory address. |
static VkSamplerYcbcrConversionInfo.Buffer |
create(long address,
int capacity)
Create a
VkSamplerYcbcrConversionInfo.Buffer instance at the specified memory. |
static VkSamplerYcbcrConversionInfo |
createSafe(long address)
|
static VkSamplerYcbcrConversionInfo.Buffer |
createSafe(long address,
int capacity)
|
static VkSamplerYcbcrConversionInfo |
malloc()
Returns a new
VkSamplerYcbcrConversionInfo instance allocated with memAlloc. |
static VkSamplerYcbcrConversionInfo.Buffer |
malloc(int capacity)
Returns a new
VkSamplerYcbcrConversionInfo.Buffer instance allocated with memAlloc. |
static VkSamplerYcbcrConversionInfo |
mallocStack()
Returns a new
VkSamplerYcbcrConversionInfo instance allocated on the thread-local MemoryStack. |
static VkSamplerYcbcrConversionInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkSamplerYcbcrConversionInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkSamplerYcbcrConversionInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionInfo.Buffer instance allocated on the specified MemoryStack. |
static VkSamplerYcbcrConversionInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionInfo instance allocated on the specified MemoryStack. |
static long |
nconversion(long struct)
Unsafe version of
conversion(). |
static void |
nconversion(long struct,
long value)
Unsafe version of
conversion. |
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. |
long |
pNext()
Returns the value of the
pNext field. |
VkSamplerYcbcrConversionInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSamplerYcbcrConversionInfo |
set(int sType,
long pNext,
long conversion)
Initializes this struct with the specified values.
|
VkSamplerYcbcrConversionInfo |
set(VkSamplerYcbcrConversionInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSamplerYcbcrConversionInfo |
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 CONVERSION
public VkSamplerYcbcrConversionInfo(java.nio.ByteBuffer container)
VkSamplerYcbcrConversionInfo 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 long conversion()
conversion field.public VkSamplerYcbcrConversionInfo sType(int value)
sType field.public VkSamplerYcbcrConversionInfo pNext(long value)
pNext field.public VkSamplerYcbcrConversionInfo conversion(long value)
conversion field.public VkSamplerYcbcrConversionInfo set(int sType, long pNext, long conversion)
public VkSamplerYcbcrConversionInfo set(VkSamplerYcbcrConversionInfo src)
src - the source structpublic static VkSamplerYcbcrConversionInfo malloc()
VkSamplerYcbcrConversionInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkSamplerYcbcrConversionInfo calloc()
VkSamplerYcbcrConversionInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkSamplerYcbcrConversionInfo create()
VkSamplerYcbcrConversionInfo instance allocated with BufferUtils.public static VkSamplerYcbcrConversionInfo create(long address)
VkSamplerYcbcrConversionInfo instance for the specified memory address.@Nullable public static VkSamplerYcbcrConversionInfo createSafe(long address)
public static VkSamplerYcbcrConversionInfo.Buffer malloc(int capacity)
VkSamplerYcbcrConversionInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfo.Buffer calloc(int capacity)
VkSamplerYcbcrConversionInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfo.Buffer create(int capacity)
VkSamplerYcbcrConversionInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfo.Buffer create(long address, int capacity)
VkSamplerYcbcrConversionInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSamplerYcbcrConversionInfo.Buffer createSafe(long address, int capacity)
public static VkSamplerYcbcrConversionInfo mallocStack()
VkSamplerYcbcrConversionInfo instance allocated on the thread-local MemoryStack.public static VkSamplerYcbcrConversionInfo callocStack()
VkSamplerYcbcrConversionInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSamplerYcbcrConversionInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSamplerYcbcrConversionInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSamplerYcbcrConversionInfo.Buffer mallocStack(int capacity)
VkSamplerYcbcrConversionInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfo.Buffer callocStack(int capacity)
VkSamplerYcbcrConversionInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionInfo.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 long nconversion(long struct)
conversion().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nconversion(long struct,
long value)
conversion.Copyright LWJGL. All Rights Reserved. License terms.