public static class EXRChannelInfo.Buffer extends org.lwjgl.system.StructBuffer<EXRChannelInfo,EXRChannelInfo.Buffer> implements org.lwjgl.system.NativeResource
EXRChannelInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
EXRChannelInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
name()
Returns a
ByteBuffer view of the name field. |
EXRChannelInfo.Buffer |
name(java.nio.ByteBuffer value)
Copies the specified encoded string to the
name field. |
java.lang.String |
nameString()
Decodes the null-terminated string stored in the
name field. |
byte |
p_linear()
Returns the value of the
p_linear field. |
EXRChannelInfo.Buffer |
p_linear(byte value)
Sets the specified value to the
p_linear field. |
int |
pixel_type()
Returns the value of the
pixel_type field. |
EXRChannelInfo.Buffer |
pixel_type(int value)
Sets the specified value to the
pixel_type field. |
int |
x_sampling()
Returns the value of the
x_sampling field. |
EXRChannelInfo.Buffer |
x_sampling(int value)
Sets the specified value to the
x_sampling field. |
int |
y_sampling()
Returns the value of the
y_sampling field. |
EXRChannelInfo.Buffer |
y_sampling(int value)
Sets the specified value to the
y_sampling field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
EXRChannelInfo.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 EXRChannelInfo.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 java.nio.ByteBuffer name()
ByteBuffer view of the name field.public java.lang.String nameString()
name field.public int pixel_type()
pixel_type field.public int x_sampling()
x_sampling field.public int y_sampling()
y_sampling field.public byte p_linear()
p_linear field.public EXRChannelInfo.Buffer name(java.nio.ByteBuffer value)
name field.public EXRChannelInfo.Buffer pixel_type(int value)
pixel_type field.public EXRChannelInfo.Buffer x_sampling(int value)
x_sampling field.public EXRChannelInfo.Buffer y_sampling(int value)
y_sampling field.public EXRChannelInfo.Buffer p_linear(byte value)
p_linear field.Copyright LWJGL. All Rights Reserved. License terms.