Package org.lwjgl.util.spvc
Class SpvcMslSamplerYcbcrConversion.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SpvcMslSamplerYcbcrConversion.Buffer>
org.lwjgl.system.StructBuffer<SpvcMslSamplerYcbcrConversion,SpvcMslSamplerYcbcrConversion.Buffer>
org.lwjgl.util.spvc.SpvcMslSamplerYcbcrConversion.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<SpvcMslSamplerYcbcrConversion>
,NativeResource
,Pointer
- Enclosing class:
SpvcMslSamplerYcbcrConversion
public static class SpvcMslSamplerYcbcrConversion.Buffer
extends StructBuffer<SpvcMslSamplerYcbcrConversion,SpvcMslSamplerYcbcrConversion.Buffer>
implements NativeResource
An array of
SpvcMslSamplerYcbcrConversion
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newSpvcMslSamplerYcbcrConversion.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
bpc()
bpc
(int value) Sets the specified value to thebpc
field.int
chroma_filter
(int value) Sets the specified value to thechroma_filter
field.int
planes()
planes
(int value) Sets the specified value to theplanes
field.int
resolution
(int value) Sets the specified value to theresolution
field.swizzle()
int
swizzle
(int index) swizzle
(int index, int value) Sets the specified value at the specified index of theswizzle
field.Copies the specifiedIntBuffer
to theswizzle
field.int
x_chroma_offset
(int value) Sets the specified value to thex_chroma_offset
field.int
y_chroma_offset
(int value) Sets the specified value to they_chroma_offset
field.int
ycbcr_model
(int value) Sets the specified value to theycbcr_model
field.int
ycbcr_range
(int value) Sets the specified value to theycbcr_range
field.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.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.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newSpvcMslSamplerYcbcrConversion.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 by
SpvcMslSamplerYcbcrConversion.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 Details
-
planes
public int planes()- Returns:
- the value of the
planes
field.
-
resolution
public int resolution()- Returns:
- the value of the
resolution
field.
-
chroma_filter
public int chroma_filter()- Returns:
- the value of the
chroma_filter
field.
-
x_chroma_offset
public int x_chroma_offset()- Returns:
- the value of the
x_chroma_offset
field.
-
y_chroma_offset
public int y_chroma_offset()- Returns:
- the value of the
y_chroma_offset
field.
-
swizzle
- Returns:
- a
IntBuffer
view of theswizzle
field.
-
swizzle
public int swizzle(int index) - Returns:
- the value at the specified index of the
swizzle
field.
-
ycbcr_model
public int ycbcr_model()- Returns:
- the value of the
ycbcr_model
field.
-
ycbcr_range
public int ycbcr_range()- Returns:
- the value of the
ycbcr_range
field.
-
bpc
public int bpc()- Returns:
- the value of the
bpc
field.
-
planes
Sets the specified value to theplanes
field. -
resolution
Sets the specified value to theresolution
field. -
chroma_filter
Sets the specified value to thechroma_filter
field. -
x_chroma_offset
Sets the specified value to thex_chroma_offset
field. -
y_chroma_offset
Sets the specified value to they_chroma_offset
field. -
swizzle
Copies the specifiedIntBuffer
to theswizzle
field. -
swizzle
Sets the specified value at the specified index of theswizzle
field. -
ycbcr_model
Sets the specified value to theycbcr_model
field. -
ycbcr_range
Sets the specified value to theycbcr_range
field. -
bpc
Sets the specified value to thebpc
field.
-