public static class SpvcMslSamplerYcbcrConversion.Buffer extends org.lwjgl.system.StructBuffer<SpvcMslSamplerYcbcrConversion,SpvcMslSamplerYcbcrConversion.Buffer> implements org.lwjgl.system.NativeResource
SpvcMslSamplerYcbcrConversion structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
SpvcMslSamplerYcbcrConversion.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
bpc()
Returns the value of the
bpc field. |
SpvcMslSamplerYcbcrConversion.Buffer |
bpc(int value)
Sets the specified value to the
bpc field. |
int |
chroma_filter()
Returns the value of the
chroma_filter field. |
SpvcMslSamplerYcbcrConversion.Buffer |
chroma_filter(int value)
Sets the specified value to the
chroma_filter field. |
int |
planes()
Returns the value of the
planes field. |
SpvcMslSamplerYcbcrConversion.Buffer |
planes(int value)
Sets the specified value to the
planes field. |
int |
resolution()
Returns the value of the
resolution field. |
SpvcMslSamplerYcbcrConversion.Buffer |
resolution(int value)
Sets the specified value to the
resolution field. |
java.nio.IntBuffer |
swizzle()
Returns a
IntBuffer view of the swizzle field. |
int |
swizzle(int index)
Returns the value at the specified index of the
swizzle field. |
SpvcMslSamplerYcbcrConversion.Buffer |
swizzle(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the swizzle field. |
SpvcMslSamplerYcbcrConversion.Buffer |
swizzle(int index,
int value)
Sets the specified value at the specified index of the
swizzle field. |
int |
x_chroma_offset()
Returns the value of the
x_chroma_offset field. |
SpvcMslSamplerYcbcrConversion.Buffer |
x_chroma_offset(int value)
Sets the specified value to the
x_chroma_offset field. |
int |
y_chroma_offset()
Returns the value of the
y_chroma_offset field. |
SpvcMslSamplerYcbcrConversion.Buffer |
y_chroma_offset(int value)
Sets the specified value to the
y_chroma_offset field. |
int |
ycbcr_model()
Returns the value of the
ycbcr_model field. |
SpvcMslSamplerYcbcrConversion.Buffer |
ycbcr_model(int value)
Sets the specified value to the
ycbcr_model field. |
int |
ycbcr_range()
Returns the value of the
ycbcr_range field. |
SpvcMslSamplerYcbcrConversion.Buffer |
ycbcr_range(int value)
Sets the specified value to the
ycbcr_range field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
SpvcMslSamplerYcbcrConversion.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.
public Buffer(long address,
int cap)
public int planes()
planes field.public int resolution()
resolution field.public int chroma_filter()
chroma_filter field.public int x_chroma_offset()
x_chroma_offset field.public int y_chroma_offset()
y_chroma_offset field.public java.nio.IntBuffer swizzle()
IntBuffer view of the swizzle field.public int swizzle(int index)
swizzle field.public int ycbcr_model()
ycbcr_model field.public int ycbcr_range()
ycbcr_range field.public int bpc()
bpc field.public SpvcMslSamplerYcbcrConversion.Buffer planes(int value)
planes field.public SpvcMslSamplerYcbcrConversion.Buffer resolution(int value)
resolution field.public SpvcMslSamplerYcbcrConversion.Buffer chroma_filter(int value)
chroma_filter field.public SpvcMslSamplerYcbcrConversion.Buffer x_chroma_offset(int value)
x_chroma_offset field.public SpvcMslSamplerYcbcrConversion.Buffer y_chroma_offset(int value)
y_chroma_offset field.public SpvcMslSamplerYcbcrConversion.Buffer swizzle(java.nio.IntBuffer value)
IntBuffer to the swizzle field.public SpvcMslSamplerYcbcrConversion.Buffer swizzle(int index, int value)
swizzle field.public SpvcMslSamplerYcbcrConversion.Buffer ycbcr_model(int value)
ycbcr_model field.public SpvcMslSamplerYcbcrConversion.Buffer ycbcr_range(int value)
ycbcr_range field.public SpvcMslSamplerYcbcrConversion.Buffer bpc(int value)
bpc field.Copyright LWJGL. All Rights Reserved. License terms.