Package org.lwjgl.vulkan
Class VkSamplerYcbcrConversionCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSamplerYcbcrConversionCreateInfo,VkSamplerYcbcrConversionCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkSamplerYcbcrConversionCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkSamplerYcbcrConversionCreateInfo>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkSamplerYcbcrConversionCreateInfoKHR.Buffer
- Enclosing class:
- VkSamplerYcbcrConversionCreateInfo
public static class VkSamplerYcbcrConversionCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkSamplerYcbcrConversionCreateInfo,VkSamplerYcbcrConversionCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSamplerYcbcrConversionCreateInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
chromaFilter()
Returns the value of thechromaFilter
field.VkSamplerYcbcrConversionCreateInfo.Buffer
chromaFilter(int value)
Sets the specified value to thechromaFilter
field.VkComponentMapping
components()
Returns aVkComponentMapping
view of thecomponents
field.VkSamplerYcbcrConversionCreateInfo.Buffer
components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes thecomponents
field to the specifiedConsumer
.VkSamplerYcbcrConversionCreateInfo.Buffer
components(VkComponentMapping value)
Copies the specifiedVkComponentMapping
to thecomponents
field.boolean
forceExplicitReconstruction()
Returns the value of theforceExplicitReconstruction
field.VkSamplerYcbcrConversionCreateInfo.Buffer
forceExplicitReconstruction(boolean value)
Sets the specified value to theforceExplicitReconstruction
field.int
format()
Returns the value of theformat
field.VkSamplerYcbcrConversionCreateInfo.Buffer
format(int value)
Sets the specified value to theformat
field.long
pNext()
Returns the value of thepNext
field.VkSamplerYcbcrConversionCreateInfo.Buffer
pNext(long value)
Sets the specified value to thepNext
field.int
sType()
Returns the value of thesType
field.VkSamplerYcbcrConversionCreateInfo.Buffer
sType(int value)
Sets the specified value to thesType
field.int
xChromaOffset()
Returns the value of thexChromaOffset
field.VkSamplerYcbcrConversionCreateInfo.Buffer
xChromaOffset(int value)
Sets the specified value to thexChromaOffset
field.int
ycbcrModel()
Returns the value of theycbcrModel
field.VkSamplerYcbcrConversionCreateInfo.Buffer
ycbcrModel(int value)
Sets the specified value to theycbcrModel
field.int
ycbcrRange()
Returns the value of theycbcrRange
field.VkSamplerYcbcrConversionCreateInfo.Buffer
ycbcrRange(int value)
Sets the specified value to theycbcrRange
field.int
yChromaOffset()
Returns the value of theyChromaOffset
field.VkSamplerYcbcrConversionCreateInfo.Buffer
yChromaOffset(int value)
Sets the specified value to theyChromaOffset
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSamplerYcbcrConversionCreateInfo.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 byVkSamplerYcbcrConversionCreateInfo.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
format
public int format()
Returns the value of theformat
field.
-
ycbcrModel
public int ycbcrModel()
Returns the value of theycbcrModel
field.
-
ycbcrRange
public int ycbcrRange()
Returns the value of theycbcrRange
field.
-
components
public VkComponentMapping components()
Returns aVkComponentMapping
view of thecomponents
field.
-
xChromaOffset
public int xChromaOffset()
Returns the value of thexChromaOffset
field.
-
yChromaOffset
public int yChromaOffset()
Returns the value of theyChromaOffset
field.
-
chromaFilter
public int chromaFilter()
Returns the value of thechromaFilter
field.
-
forceExplicitReconstruction
public boolean forceExplicitReconstruction()
Returns the value of theforceExplicitReconstruction
field.
-
sType
public VkSamplerYcbcrConversionCreateInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkSamplerYcbcrConversionCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
format
public VkSamplerYcbcrConversionCreateInfo.Buffer format(int value)
Sets the specified value to theformat
field.
-
ycbcrModel
public VkSamplerYcbcrConversionCreateInfo.Buffer ycbcrModel(int value)
Sets the specified value to theycbcrModel
field.
-
ycbcrRange
public VkSamplerYcbcrConversionCreateInfo.Buffer ycbcrRange(int value)
Sets the specified value to theycbcrRange
field.
-
components
public VkSamplerYcbcrConversionCreateInfo.Buffer components(VkComponentMapping value)
Copies the specifiedVkComponentMapping
to thecomponents
field.
-
components
public VkSamplerYcbcrConversionCreateInfo.Buffer components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes thecomponents
field to the specifiedConsumer
.
-
xChromaOffset
public VkSamplerYcbcrConversionCreateInfo.Buffer xChromaOffset(int value)
Sets the specified value to thexChromaOffset
field.
-
yChromaOffset
public VkSamplerYcbcrConversionCreateInfo.Buffer yChromaOffset(int value)
Sets the specified value to theyChromaOffset
field.
-
chromaFilter
public VkSamplerYcbcrConversionCreateInfo.Buffer chromaFilter(int value)
Sets the specified value to thechromaFilter
field.
-
forceExplicitReconstruction
public VkSamplerYcbcrConversionCreateInfo.Buffer forceExplicitReconstruction(boolean value)
Sets the specified value to theforceExplicitReconstruction
field.
-
-