public class VkSamplerYcbcrConversionCreateInfoKHR extends VkSamplerYcbcrConversionCreateInfo
VkSamplerYcbcrConversionCreateInfo.
struct VkSamplerYcbcrConversionCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkFormat format;
VkSamplerYcbcrModelConversion ycbcrModel;
VkSamplerYcbcrRange ycbcrRange;
VkComponentMapping components;
VkChromaLocation xChromaOffset;
VkChromaLocation yChromaOffset;
VkFilter chromaFilter;
VkBool32 forceExplicitReconstruction;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer
An array of
VkSamplerYcbcrConversionCreateInfoKHR structs. |
ALIGNOF, CHROMAFILTER, COMPONENTS, FORCEEXPLICITRECONSTRUCTION, FORMAT, PNEXT, SIZEOF, STYPE, XCHROMAOFFSET, YCBCRMODEL, YCBCRRANGE, YCHROMAOFFSET| Constructor and Description |
|---|
VkSamplerYcbcrConversionCreateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkSamplerYcbcrConversionCreateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSamplerYcbcrConversionCreateInfoKHR |
calloc()
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR instance allocated with memCalloc. |
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated with memCalloc. |
static VkSamplerYcbcrConversionCreateInfoKHR |
callocStack()
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSamplerYcbcrConversionCreateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
VkSamplerYcbcrConversionCreateInfoKHR |
chromaFilter(int value)
Sets the specified value to the
chromaFilter field. |
VkSamplerYcbcrConversionCreateInfoKHR |
components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes the
components field to the specified Consumer. |
VkSamplerYcbcrConversionCreateInfoKHR |
components(VkComponentMapping value)
Copies the specified
VkComponentMapping to the components field. |
static VkSamplerYcbcrConversionCreateInfoKHR |
create()
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR instance allocated with BufferUtils. |
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkSamplerYcbcrConversionCreateInfoKHR |
create(long address)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR instance for the specified memory address. |
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance at the specified memory. |
static VkSamplerYcbcrConversionCreateInfoKHR |
createSafe(long address)
|
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
VkSamplerYcbcrConversionCreateInfoKHR |
forceExplicitReconstruction(boolean value)
Sets the specified value to the
forceExplicitReconstruction field. |
VkSamplerYcbcrConversionCreateInfoKHR |
format(int value)
Sets the specified value to the
format field. |
static VkSamplerYcbcrConversionCreateInfoKHR |
malloc()
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR instance allocated with memAlloc. |
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated with memAlloc. |
static VkSamplerYcbcrConversionCreateInfoKHR |
mallocStack()
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkSamplerYcbcrConversionCreateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSamplerYcbcrConversionCreateInfoKHR instance allocated on the specified MemoryStack. |
VkSamplerYcbcrConversionCreateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSamplerYcbcrConversionCreateInfoKHR |
set(int sType,
long pNext,
int format,
int ycbcrModel,
int ycbcrRange,
VkComponentMapping components,
int xChromaOffset,
int yChromaOffset,
int chromaFilter,
boolean forceExplicitReconstruction)
Initializes this struct with the specified values.
|
VkSamplerYcbcrConversionCreateInfoKHR |
set(VkSamplerYcbcrConversionCreateInfoKHR src)
Copies the specified struct data to this struct.
|
VkSamplerYcbcrConversionCreateInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
VkSamplerYcbcrConversionCreateInfoKHR |
xChromaOffset(int value)
Sets the specified value to the
xChromaOffset field. |
VkSamplerYcbcrConversionCreateInfoKHR |
ycbcrModel(int value)
Sets the specified value to the
ycbcrModel field. |
VkSamplerYcbcrConversionCreateInfoKHR |
ycbcrRange(int value)
Sets the specified value to the
ycbcrRange field. |
VkSamplerYcbcrConversionCreateInfoKHR |
yChromaOffset(int value)
Sets the specified value to the
yChromaOffset field. |
chromaFilter, components, forceExplicitReconstruction, format, nchromaFilter, nchromaFilter, ncomponents, ncomponents, nforceExplicitReconstruction, nforceExplicitReconstruction, nformat, nformat, npNext, npNext, nsType, nsType, nxChromaOffset, nxChromaOffset, nycbcrModel, nycbcrModel, nycbcrRange, nycbcrRange, nyChromaOffset, nyChromaOffset, pNext, set, sizeof, sType, xChromaOffset, ycbcrModel, ycbcrRange, yChromaOffsetpublic VkSamplerYcbcrConversionCreateInfoKHR(java.nio.ByteBuffer container)
VkSamplerYcbcrConversionCreateInfoKHR 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 VkSamplerYcbcrConversionCreateInfoKHR sType(int value)
sType field.sType in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR pNext(long value)
pNext field.pNext in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR format(int value)
format field.format in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR ycbcrModel(int value)
ycbcrModel field.ycbcrModel in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR ycbcrRange(int value)
ycbcrRange field.ycbcrRange in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR components(VkComponentMapping value)
VkComponentMapping to the components field.components in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR components(java.util.function.Consumer<VkComponentMapping> consumer)
components field to the specified Consumer.components in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR xChromaOffset(int value)
xChromaOffset field.xChromaOffset in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR yChromaOffset(int value)
yChromaOffset field.yChromaOffset in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR chromaFilter(int value)
chromaFilter field.chromaFilter in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR forceExplicitReconstruction(boolean value)
forceExplicitReconstruction field.forceExplicitReconstruction in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR set(int sType, long pNext, int format, int ycbcrModel, int ycbcrRange, VkComponentMapping components, int xChromaOffset, int yChromaOffset, int chromaFilter, boolean forceExplicitReconstruction)
set in class VkSamplerYcbcrConversionCreateInfopublic VkSamplerYcbcrConversionCreateInfoKHR set(VkSamplerYcbcrConversionCreateInfoKHR src)
src - the source structpublic static VkSamplerYcbcrConversionCreateInfoKHR malloc()
VkSamplerYcbcrConversionCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkSamplerYcbcrConversionCreateInfoKHR calloc()
VkSamplerYcbcrConversionCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkSamplerYcbcrConversionCreateInfoKHR create()
VkSamplerYcbcrConversionCreateInfoKHR instance allocated with BufferUtils.public static VkSamplerYcbcrConversionCreateInfoKHR create(long address)
VkSamplerYcbcrConversionCreateInfoKHR instance for the specified memory address.@Nullable public static VkSamplerYcbcrConversionCreateInfoKHR createSafe(long address)
public static VkSamplerYcbcrConversionCreateInfoKHR.Buffer malloc(int capacity)
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionCreateInfoKHR.Buffer calloc(int capacity)
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionCreateInfoKHR.Buffer create(int capacity)
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionCreateInfoKHR.Buffer create(long address, int capacity)
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSamplerYcbcrConversionCreateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkSamplerYcbcrConversionCreateInfoKHR mallocStack()
VkSamplerYcbcrConversionCreateInfoKHR instance allocated on the thread-local MemoryStack.public static VkSamplerYcbcrConversionCreateInfoKHR callocStack()
VkSamplerYcbcrConversionCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSamplerYcbcrConversionCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionCreateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSamplerYcbcrConversionCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSamplerYcbcrConversionCreateInfoKHR.Buffer mallocStack(int capacity)
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionCreateInfoKHR.Buffer callocStack(int capacity)
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSamplerYcbcrConversionCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSamplerYcbcrConversionCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSamplerYcbcrConversionCreateInfoKHR.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.