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
-
-
-
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 the
VkSamplerYcbcrConversionCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkSamplerYcbcrConversionCreateInfo.pNext()field.
-
format
public int format()
- Returns:
- the value of the
VkSamplerYcbcrConversionCreateInfo.format()field.
-
ycbcrModel
public int ycbcrModel()
- Returns:
- the value of the
VkSamplerYcbcrConversionCreateInfo.ycbcrModel()field.
-
ycbcrRange
public int ycbcrRange()
- Returns:
- the value of the
VkSamplerYcbcrConversionCreateInfo.ycbcrRange()field.
-
components
public VkComponentMapping components()
- Returns:
- a
VkComponentMappingview of theVkSamplerYcbcrConversionCreateInfo.components()field.
-
xChromaOffset
public int xChromaOffset()
- Returns:
- the value of the
VkSamplerYcbcrConversionCreateInfo.xChromaOffset()field.
-
yChromaOffset
public int yChromaOffset()
- Returns:
- the value of the
VkSamplerYcbcrConversionCreateInfo.yChromaOffset()field.
-
chromaFilter
public int chromaFilter()
- Returns:
- the value of the
VkSamplerYcbcrConversionCreateInfo.chromaFilter()field.
-
forceExplicitReconstruction
public boolean forceExplicitReconstruction()
- Returns:
- the value of the
VkSamplerYcbcrConversionCreateInfo.forceExplicitReconstruction()field.
-
sType
public VkSamplerYcbcrConversionCreateInfo.Buffer sType(int value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.sType()field.
-
sType$Default
public VkSamplerYcbcrConversionCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFOvalue to theVkSamplerYcbcrConversionCreateInfo.sType()field.
-
pNext
public VkSamplerYcbcrConversionCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.pNext()field.
-
format
public VkSamplerYcbcrConversionCreateInfo.Buffer format(int value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.format()field.
-
ycbcrModel
public VkSamplerYcbcrConversionCreateInfo.Buffer ycbcrModel(int value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.ycbcrModel()field.
-
ycbcrRange
public VkSamplerYcbcrConversionCreateInfo.Buffer ycbcrRange(int value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.ycbcrRange()field.
-
components
public VkSamplerYcbcrConversionCreateInfo.Buffer components(VkComponentMapping value)
Copies the specifiedVkComponentMappingto theVkSamplerYcbcrConversionCreateInfo.components()field.
-
components
public VkSamplerYcbcrConversionCreateInfo.Buffer components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes theVkSamplerYcbcrConversionCreateInfo.components()field to the specifiedConsumer.
-
xChromaOffset
public VkSamplerYcbcrConversionCreateInfo.Buffer xChromaOffset(int value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.xChromaOffset()field.
-
yChromaOffset
public VkSamplerYcbcrConversionCreateInfo.Buffer yChromaOffset(int value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.yChromaOffset()field.
-
chromaFilter
public VkSamplerYcbcrConversionCreateInfo.Buffer chromaFilter(int value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.chromaFilter()field.
-
forceExplicitReconstruction
public VkSamplerYcbcrConversionCreateInfo.Buffer forceExplicitReconstruction(boolean value)
Sets the specified value to theVkSamplerYcbcrConversionCreateInfo.forceExplicitReconstruction()field.
-
-