public static class VkSamplerYcbcrConversionCreateInfoKHR.Buffer extends VkSamplerYcbcrConversionCreateInfo.Buffer
VkSamplerYcbcrConversionCreateInfoKHR structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
chromaFilter(int value)
Sets the specified value to the
chromaFilter field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes the
components field to the specified Consumer. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
components(VkComponentMapping value)
Copies the specified
VkComponentMapping to the components field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
forceExplicitReconstruction(boolean value)
Sets the specified value to the
forceExplicitReconstruction field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
format(int value)
Sets the specified value to the
format field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
xChromaOffset(int value)
Sets the specified value to the
xChromaOffset field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
ycbcrModel(int value)
Sets the specified value to the
ycbcrModel field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
ycbcrRange(int value)
Sets the specified value to the
ycbcrRange field. |
VkSamplerYcbcrConversionCreateInfoKHR.Buffer |
yChromaOffset(int value)
Sets the specified value to the
yChromaOffset field. |
chromaFilter, components, forceExplicitReconstruction, format, pNext, sType, xChromaOffset, ycbcrModel, ycbcrRange, yChromaOffsetapply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkSamplerYcbcrConversionCreateInfoKHR.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by VkSamplerYcbcrConversionCreateInfo.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer sType(int value)
sType field.sType in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer pNext(long value)
pNext field.pNext in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer format(int value)
format field.format in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer ycbcrModel(int value)
ycbcrModel field.ycbcrModel in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer ycbcrRange(int value)
ycbcrRange field.ycbcrRange in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer components(VkComponentMapping value)
VkComponentMapping to the components field.components in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer components(java.util.function.Consumer<VkComponentMapping> consumer)
components field to the specified Consumer.components in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer xChromaOffset(int value)
xChromaOffset field.xChromaOffset in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer yChromaOffset(int value)
yChromaOffset field.yChromaOffset in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer chromaFilter(int value)
chromaFilter field.chromaFilter in class VkSamplerYcbcrConversionCreateInfo.Bufferpublic VkSamplerYcbcrConversionCreateInfoKHR.Buffer forceExplicitReconstruction(boolean value)
forceExplicitReconstruction field.forceExplicitReconstruction in class VkSamplerYcbcrConversionCreateInfo.BufferCopyright LWJGL. All Rights Reserved. License terms.