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 ofVkSamplerYcbcrConversionCreateInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intchromaFilter()Returns the value of thechromaFilterfield.VkSamplerYcbcrConversionCreateInfo.BufferchromaFilter(int value)Sets the specified value to thechromaFilterfield.VkComponentMappingcomponents()Returns aVkComponentMappingview of thecomponentsfield.VkSamplerYcbcrConversionCreateInfo.Buffercomponents(java.util.function.Consumer<VkComponentMapping> consumer)Passes thecomponentsfield to the specifiedConsumer.VkSamplerYcbcrConversionCreateInfo.Buffercomponents(VkComponentMapping value)Copies the specifiedVkComponentMappingto thecomponentsfield.booleanforceExplicitReconstruction()Returns the value of theforceExplicitReconstructionfield.VkSamplerYcbcrConversionCreateInfo.BufferforceExplicitReconstruction(boolean value)Sets the specified value to theforceExplicitReconstructionfield.intformat()Returns the value of theformatfield.VkSamplerYcbcrConversionCreateInfo.Bufferformat(int value)Sets the specified value to theformatfield.longpNext()Returns the value of thepNextfield.VkSamplerYcbcrConversionCreateInfo.BufferpNext(long value)Sets the specified value to thepNextfield.intsType()Returns the value of thesTypefield.VkSamplerYcbcrConversionCreateInfo.BuffersType(int value)Sets the specified value to thesTypefield.intxChromaOffset()Returns the value of thexChromaOffsetfield.VkSamplerYcbcrConversionCreateInfo.BufferxChromaOffset(int value)Sets the specified value to thexChromaOffsetfield.intycbcrModel()Returns the value of theycbcrModelfield.VkSamplerYcbcrConversionCreateInfo.BufferycbcrModel(int value)Sets the specified value to theycbcrModelfield.intycbcrRange()Returns the value of theycbcrRangefield.VkSamplerYcbcrConversionCreateInfo.BufferycbcrRange(int value)Sets the specified value to theycbcrRangefield.intyChromaOffset()Returns the value of theyChromaOffsetfield.VkSamplerYcbcrConversionCreateInfo.BufferyChromaOffset(int value)Sets the specified value to theyChromaOffsetfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSamplerYcbcrConversionCreateInfo.Bufferinstance 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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
format
public int format()
Returns the value of theformatfield.
-
ycbcrModel
public int ycbcrModel()
Returns the value of theycbcrModelfield.
-
ycbcrRange
public int ycbcrRange()
Returns the value of theycbcrRangefield.
-
components
public VkComponentMapping components()
Returns aVkComponentMappingview of thecomponentsfield.
-
xChromaOffset
public int xChromaOffset()
Returns the value of thexChromaOffsetfield.
-
yChromaOffset
public int yChromaOffset()
Returns the value of theyChromaOffsetfield.
-
chromaFilter
public int chromaFilter()
Returns the value of thechromaFilterfield.
-
forceExplicitReconstruction
public boolean forceExplicitReconstruction()
Returns the value of theforceExplicitReconstructionfield.
-
sType
public VkSamplerYcbcrConversionCreateInfo.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkSamplerYcbcrConversionCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
format
public VkSamplerYcbcrConversionCreateInfo.Buffer format(int value)
Sets the specified value to theformatfield.
-
ycbcrModel
public VkSamplerYcbcrConversionCreateInfo.Buffer ycbcrModel(int value)
Sets the specified value to theycbcrModelfield.
-
ycbcrRange
public VkSamplerYcbcrConversionCreateInfo.Buffer ycbcrRange(int value)
Sets the specified value to theycbcrRangefield.
-
components
public VkSamplerYcbcrConversionCreateInfo.Buffer components(VkComponentMapping value)
Copies the specifiedVkComponentMappingto thecomponentsfield.
-
components
public VkSamplerYcbcrConversionCreateInfo.Buffer components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes thecomponentsfield to the specifiedConsumer.
-
xChromaOffset
public VkSamplerYcbcrConversionCreateInfo.Buffer xChromaOffset(int value)
Sets the specified value to thexChromaOffsetfield.
-
yChromaOffset
public VkSamplerYcbcrConversionCreateInfo.Buffer yChromaOffset(int value)
Sets the specified value to theyChromaOffsetfield.
-
chromaFilter
public VkSamplerYcbcrConversionCreateInfo.Buffer chromaFilter(int value)
Sets the specified value to thechromaFilterfield.
-
forceExplicitReconstruction
public VkSamplerYcbcrConversionCreateInfo.Buffer forceExplicitReconstruction(boolean value)
Sets the specified value to theforceExplicitReconstructionfield.
-
-