Package org.lwjgl.vulkan
Class VkSamplerYcbcrConversionCreateInfoKHR.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
-
- org.lwjgl.vulkan.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkSamplerYcbcrConversionCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkSamplerYcbcrConversionCreateInfoKHR
public static class VkSamplerYcbcrConversionCreateInfoKHR.Buffer extends VkSamplerYcbcrConversionCreateInfo.Buffer
An array ofVkSamplerYcbcrConversionCreateInfoKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkSamplerYcbcrConversionCreateInfoKHR.BufferchromaFilter(int value)Sets the specified value to thechromaFilterfield.VkSamplerYcbcrConversionCreateInfoKHR.Buffercomponents(java.util.function.Consumer<VkComponentMapping> consumer)Passes thecomponentsfield to the specifiedConsumer.VkSamplerYcbcrConversionCreateInfoKHR.Buffercomponents(VkComponentMapping value)Copies the specifiedVkComponentMappingto thecomponentsfield.VkSamplerYcbcrConversionCreateInfoKHR.BufferforceExplicitReconstruction(boolean value)Sets the specified value to theforceExplicitReconstructionfield.VkSamplerYcbcrConversionCreateInfoKHR.Bufferformat(int value)Sets the specified value to theformatfield.VkSamplerYcbcrConversionCreateInfoKHR.BufferpNext(long value)Sets the specified value to thepNextfield.VkSamplerYcbcrConversionCreateInfoKHR.BuffersType(int value)Sets the specified value to thesTypefield.VkSamplerYcbcrConversionCreateInfoKHR.BufferxChromaOffset(int value)Sets the specified value to thexChromaOffsetfield.VkSamplerYcbcrConversionCreateInfoKHR.BufferycbcrModel(int value)Sets the specified value to theycbcrModelfield.VkSamplerYcbcrConversionCreateInfoKHR.BufferycbcrRange(int value)Sets the specified value to theycbcrRangefield.VkSamplerYcbcrConversionCreateInfoKHR.BufferyChromaOffset(int value)Sets the specified value to theyChromaOffsetfield.-
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
-
Methods inherited from class org.lwjgl.vulkan.VkSamplerYcbcrConversionCreateInfo.Buffer
chromaFilter, components, forceExplicitReconstruction, format, pNext, sType, xChromaOffset, ycbcrModel, ycbcrRange, yChromaOffset
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSamplerYcbcrConversionCreateInfoKHR.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 VkSamplerYcbcrConversionCreateInfoKHR.Buffer sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSamplerYcbcrConversionCreateInfo.Buffer
-
pNext
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
format
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer format(int value)
Sets the specified value to theformatfield.- Overrides:
formatin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
ycbcrModel
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer ycbcrModel(int value)
Sets the specified value to theycbcrModelfield.- Overrides:
ycbcrModelin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
ycbcrRange
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer ycbcrRange(int value)
Sets the specified value to theycbcrRangefield.- Overrides:
ycbcrRangein classVkSamplerYcbcrConversionCreateInfo.Buffer
-
components
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer components(VkComponentMapping value)
Copies the specifiedVkComponentMappingto thecomponentsfield.- Overrides:
componentsin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
components
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes thecomponentsfield to the specifiedConsumer.- Overrides:
componentsin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
xChromaOffset
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer xChromaOffset(int value)
Sets the specified value to thexChromaOffsetfield.- Overrides:
xChromaOffsetin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
yChromaOffset
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer yChromaOffset(int value)
Sets the specified value to theyChromaOffsetfield.- Overrides:
yChromaOffsetin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
chromaFilter
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer chromaFilter(int value)
Sets the specified value to thechromaFilterfield.- Overrides:
chromaFilterin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
forceExplicitReconstruction
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer forceExplicitReconstruction(boolean value)
Sets the specified value to theforceExplicitReconstructionfield.- Overrides:
forceExplicitReconstructionin classVkSamplerYcbcrConversionCreateInfo.Buffer
-
-