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 ofVkSamplerYcbcrConversionCreateInfoKHR
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VkSamplerYcbcrConversionCreateInfoKHR.Buffer
chromaFilter(int value)
Sets the specified value to thechromaFilter
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes thecomponents
field to the specifiedConsumer
.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
components(VkComponentMapping value)
Copies the specifiedVkComponentMapping
to thecomponents
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
forceExplicitReconstruction(boolean value)
Sets the specified value to theforceExplicitReconstruction
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
format(int value)
Sets the specified value to theformat
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
pNext(long value)
Sets the specified value to thepNext
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
sType(int value)
Sets the specified value to thesType
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
xChromaOffset(int value)
Sets the specified value to thexChromaOffset
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
ycbcrModel(int value)
Sets the specified value to theycbcrModel
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
ycbcrRange(int value)
Sets the specified value to theycbcrRange
field.VkSamplerYcbcrConversionCreateInfoKHR.Buffer
yChromaOffset(int value)
Sets the specified value to theyChromaOffset
field.-
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.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 VkSamplerYcbcrConversionCreateInfoKHR.Buffer sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
pNext
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
format
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer format(int value)
Sets the specified value to theformat
field.- Overrides:
format
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
ycbcrModel
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer ycbcrModel(int value)
Sets the specified value to theycbcrModel
field.- Overrides:
ycbcrModel
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
ycbcrRange
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer ycbcrRange(int value)
Sets the specified value to theycbcrRange
field.- Overrides:
ycbcrRange
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
components
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer components(VkComponentMapping value)
Copies the specifiedVkComponentMapping
to thecomponents
field.- Overrides:
components
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
components
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes thecomponents
field to the specifiedConsumer
.- Overrides:
components
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
xChromaOffset
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer xChromaOffset(int value)
Sets the specified value to thexChromaOffset
field.- Overrides:
xChromaOffset
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
yChromaOffset
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer yChromaOffset(int value)
Sets the specified value to theyChromaOffset
field.- Overrides:
yChromaOffset
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
chromaFilter
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer chromaFilter(int value)
Sets the specified value to thechromaFilter
field.- Overrides:
chromaFilter
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
forceExplicitReconstruction
public VkSamplerYcbcrConversionCreateInfoKHR.Buffer forceExplicitReconstruction(boolean value)
Sets the specified value to theforceExplicitReconstruction
field.- Overrides:
forceExplicitReconstruction
in classVkSamplerYcbcrConversionCreateInfo.Buffer
-
-