public class VkSamplerYcbcrConversionInfoKHR extends VkSamplerYcbcrConversionInfo
VkSamplerYcbcrConversionInfo.
struct VkSamplerYcbcrConversionInfoKHR {
VkStructureType sType;
void const * pNext;
VkSamplerYcbcrConversion conversion;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSamplerYcbcrConversionInfoKHR.Buffer
An array of
VkSamplerYcbcrConversionInfoKHR structs. |
ALIGNOF, CONVERSION, PNEXT, SIZEOF, STYPE| Constructor and Description |
|---|
VkSamplerYcbcrConversionInfoKHR(java.nio.ByteBuffer container)
Creates a
VkSamplerYcbcrConversionInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSamplerYcbcrConversionInfoKHR |
calloc()
Returns a new
VkSamplerYcbcrConversionInfoKHR instance allocated with memCalloc. |
static VkSamplerYcbcrConversionInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated with memCalloc. |
static VkSamplerYcbcrConversionInfoKHR |
callocStack()
Returns a new
VkSamplerYcbcrConversionInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
VkSamplerYcbcrConversionInfoKHR |
conversion(long value)
Sets the specified value to the
conversion field. |
static VkSamplerYcbcrConversionInfoKHR |
create()
Returns a new
VkSamplerYcbcrConversionInfoKHR instance allocated with BufferUtils. |
static VkSamplerYcbcrConversionInfoKHR.Buffer |
create(int capacity)
Returns a new
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated with BufferUtils. |
static VkSamplerYcbcrConversionInfoKHR |
create(long address)
Returns a new
VkSamplerYcbcrConversionInfoKHR instance for the specified memory address. |
static VkSamplerYcbcrConversionInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkSamplerYcbcrConversionInfoKHR.Buffer instance at the specified memory. |
static VkSamplerYcbcrConversionInfoKHR |
createSafe(long address)
|
static VkSamplerYcbcrConversionInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkSamplerYcbcrConversionInfoKHR |
malloc()
Returns a new
VkSamplerYcbcrConversionInfoKHR instance allocated with memAlloc. |
static VkSamplerYcbcrConversionInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated with memAlloc. |
static VkSamplerYcbcrConversionInfoKHR |
mallocStack()
Returns a new
VkSamplerYcbcrConversionInfoKHR instance allocated on the thread-local MemoryStack. |
static VkSamplerYcbcrConversionInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkSamplerYcbcrConversionInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkSamplerYcbcrConversionInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionInfoKHR instance allocated on the specified MemoryStack. |
VkSamplerYcbcrConversionInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSamplerYcbcrConversionInfoKHR |
set(int sType,
long pNext,
long conversion)
Initializes this struct with the specified values.
|
VkSamplerYcbcrConversionInfoKHR |
set(VkSamplerYcbcrConversionInfoKHR src)
Copies the specified struct data to this struct.
|
VkSamplerYcbcrConversionInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
conversion, nconversion, nconversion, npNext, npNext, nsType, nsType, pNext, set, sizeof, sTypepublic VkSamplerYcbcrConversionInfoKHR(java.nio.ByteBuffer container)
VkSamplerYcbcrConversionInfoKHR 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 VkSamplerYcbcrConversionInfoKHR sType(int value)
sType field.sType in class VkSamplerYcbcrConversionInfopublic VkSamplerYcbcrConversionInfoKHR pNext(long value)
pNext field.pNext in class VkSamplerYcbcrConversionInfopublic VkSamplerYcbcrConversionInfoKHR conversion(long value)
conversion field.conversion in class VkSamplerYcbcrConversionInfopublic VkSamplerYcbcrConversionInfoKHR set(int sType, long pNext, long conversion)
set in class VkSamplerYcbcrConversionInfopublic VkSamplerYcbcrConversionInfoKHR set(VkSamplerYcbcrConversionInfoKHR src)
src - the source structpublic static VkSamplerYcbcrConversionInfoKHR malloc()
VkSamplerYcbcrConversionInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkSamplerYcbcrConversionInfoKHR calloc()
VkSamplerYcbcrConversionInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkSamplerYcbcrConversionInfoKHR create()
VkSamplerYcbcrConversionInfoKHR instance allocated with BufferUtils.public static VkSamplerYcbcrConversionInfoKHR create(long address)
VkSamplerYcbcrConversionInfoKHR instance for the specified memory address.@Nullable public static VkSamplerYcbcrConversionInfoKHR createSafe(long address)
public static VkSamplerYcbcrConversionInfoKHR.Buffer malloc(int capacity)
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfoKHR.Buffer calloc(int capacity)
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfoKHR.Buffer create(int capacity)
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfoKHR.Buffer create(long address, int capacity)
VkSamplerYcbcrConversionInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSamplerYcbcrConversionInfoKHR.Buffer createSafe(long address, int capacity)
public static VkSamplerYcbcrConversionInfoKHR mallocStack()
VkSamplerYcbcrConversionInfoKHR instance allocated on the thread-local MemoryStack.public static VkSamplerYcbcrConversionInfoKHR callocStack()
VkSamplerYcbcrConversionInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSamplerYcbcrConversionInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSamplerYcbcrConversionInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSamplerYcbcrConversionInfoKHR.Buffer mallocStack(int capacity)
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfoKHR.Buffer callocStack(int capacity)
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSamplerYcbcrConversionInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionInfoKHR.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.