public static class VkSamplerYcbcrConversionCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkSamplerYcbcrConversionCreateInfo,VkSamplerYcbcrConversionCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkSamplerYcbcrConversionCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkSamplerYcbcrConversionCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
chromaFilter()
Returns the value of the
chromaFilter field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
chromaFilter(int value)
Sets the specified value to the
chromaFilter field. |
VkComponentMapping |
components()
Returns a
VkComponentMapping view of the components field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes the
components field to the specified Consumer. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
components(VkComponentMapping value)
Copies the specified
VkComponentMapping to the components field. |
boolean |
forceExplicitReconstruction()
Returns the value of the
forceExplicitReconstruction field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
forceExplicitReconstruction(boolean value)
Sets the specified value to the
forceExplicitReconstruction field. |
int |
format()
Returns the value of the
format field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
format(int value)
Sets the specified value to the
format field. |
long |
pNext()
Returns the value of the
pNext field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
int |
xChromaOffset()
Returns the value of the
xChromaOffset field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
xChromaOffset(int value)
Sets the specified value to the
xChromaOffset field. |
int |
ycbcrModel()
Returns the value of the
ycbcrModel field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
ycbcrModel(int value)
Sets the specified value to the
ycbcrModel field. |
int |
ycbcrRange()
Returns the value of the
ycbcrRange field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
ycbcrRange(int value)
Sets the specified value to the
ycbcrRange field. |
int |
yChromaOffset()
Returns the value of the
yChromaOffset field. |
VkSamplerYcbcrConversionCreateInfo.Buffer |
yChromaOffset(int value)
Sets the specified value to the
yChromaOffset field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkSamplerYcbcrConversionCreateInfo.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 int sType()
sType field.public long pNext()
pNext field.public int format()
format field.public int ycbcrModel()
ycbcrModel field.public int ycbcrRange()
ycbcrRange field.public VkComponentMapping components()
VkComponentMapping view of the components field.public int xChromaOffset()
xChromaOffset field.public int yChromaOffset()
yChromaOffset field.public int chromaFilter()
chromaFilter field.public boolean forceExplicitReconstruction()
forceExplicitReconstruction field.public VkSamplerYcbcrConversionCreateInfo.Buffer sType(int value)
sType field.public VkSamplerYcbcrConversionCreateInfo.Buffer pNext(long value)
pNext field.public VkSamplerYcbcrConversionCreateInfo.Buffer format(int value)
format field.public VkSamplerYcbcrConversionCreateInfo.Buffer ycbcrModel(int value)
ycbcrModel field.public VkSamplerYcbcrConversionCreateInfo.Buffer ycbcrRange(int value)
ycbcrRange field.public VkSamplerYcbcrConversionCreateInfo.Buffer components(VkComponentMapping value)
VkComponentMapping to the components field.public VkSamplerYcbcrConversionCreateInfo.Buffer components(java.util.function.Consumer<VkComponentMapping> consumer)
components field to the specified Consumer.public VkSamplerYcbcrConversionCreateInfo.Buffer xChromaOffset(int value)
xChromaOffset field.public VkSamplerYcbcrConversionCreateInfo.Buffer yChromaOffset(int value)
yChromaOffset field.public VkSamplerYcbcrConversionCreateInfo.Buffer chromaFilter(int value)
chromaFilter field.public VkSamplerYcbcrConversionCreateInfo.Buffer forceExplicitReconstruction(boolean value)
forceExplicitReconstruction field.Copyright LWJGL. All Rights Reserved. License terms.