public static class EXRHeader.Buffer extends org.lwjgl.system.StructBuffer<EXRHeader,EXRHeader.Buffer> implements org.lwjgl.system.NativeResource
EXRHeader structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
EXRHeader.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
EXRChannelInfo.Buffer |
channels()
Returns a
EXRChannelInfo.Buffer view of the struct array pointed to by the channels field. |
EXRHeader.Buffer |
channels(EXRChannelInfo.Buffer value)
Sets the address of the specified
EXRChannelInfo.Buffer to the channels field. |
int |
chunk_count()
Returns the value of the
chunk_count field. |
EXRHeader.Buffer |
chunk_count(int value)
Sets the specified value to the
chunk_count field. |
int |
compression_type()
Returns the value of the
compression_type field. |
EXRHeader.Buffer |
compression_type(int value)
Sets the specified value to the
compression_type field. |
EXRAttribute.Buffer |
custom_attributes()
Returns a
EXRAttribute.Buffer view of the struct array pointed to by the custom_attributes field. |
EXRHeader.Buffer |
custom_attributes(EXRAttribute.Buffer value)
Sets the address of the specified
EXRAttribute.Buffer to the custom_attributes field. |
java.nio.IntBuffer |
data_window()
Returns a
IntBuffer view of the data_window field. |
int |
data_window(int index)
Returns the value at the specified index of the
data_window field. |
EXRHeader.Buffer |
data_window(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the data_window field. |
EXRHeader.Buffer |
data_window(int index,
int value)
Sets the specified value at the specified index of the
data_window field. |
java.nio.IntBuffer |
display_window()
Returns a
IntBuffer view of the display_window field. |
int |
display_window(int index)
Returns the value at the specified index of the
display_window field. |
EXRHeader.Buffer |
display_window(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the display_window field. |
EXRHeader.Buffer |
display_window(int index,
int value)
Sets the specified value at the specified index of the
display_window field. |
int |
header_len()
Returns the value of the
header_len field. |
EXRHeader.Buffer |
header_len(int value)
Sets the specified value to the
header_len field. |
int |
line_order()
Returns the value of the
line_order field. |
EXRHeader.Buffer |
line_order(int value)
Sets the specified value to the
line_order field. |
boolean |
long_name()
Returns the value of the
long_name field. |
EXRHeader.Buffer |
long_name(boolean value)
Sets the specified value to the
long_name field. |
boolean |
multipart()
Returns the value of the
multipart field. |
EXRHeader.Buffer |
multipart(boolean value)
Sets the specified value to the
multipart field. |
boolean |
non_image()
Returns the value of the
non_image field. |
EXRHeader.Buffer |
non_image(boolean value)
Sets the specified value to the
non_image field. |
int |
num_channels()
Returns the value of the
num_channels field. |
EXRHeader.Buffer |
num_channels(int value)
Sets the specified value to the
num_channels field. |
int |
num_custom_attributes()
Returns the value of the
num_custom_attributes field. |
EXRHeader.Buffer |
num_custom_attributes(int value)
Sets the specified value to the
num_custom_attributes field. |
float |
pixel_aspect_ratio()
Returns the value of the
pixel_aspect_ratio field. |
EXRHeader.Buffer |
pixel_aspect_ratio(float value)
Sets the specified value to the
pixel_aspect_ratio field. |
java.nio.IntBuffer |
pixel_types()
Returns a
IntBuffer view of the data pointed to by the pixel_types field. |
EXRHeader.Buffer |
pixel_types(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pixel_types field. |
java.nio.IntBuffer |
requested_pixel_types()
Returns a
IntBuffer view of the data pointed to by the requested_pixel_types field. |
EXRHeader.Buffer |
requested_pixel_types(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the requested_pixel_types field. |
java.nio.FloatBuffer |
screen_window_center()
Returns a
FloatBuffer view of the screen_window_center field. |
EXRHeader.Buffer |
screen_window_center(java.nio.FloatBuffer value)
Copies the specified
FloatBuffer to the screen_window_center field. |
float |
screen_window_center(int index)
Returns the value at the specified index of the
screen_window_center field. |
EXRHeader.Buffer |
screen_window_center(int index,
float value)
Sets the specified value at the specified index of the
screen_window_center field. |
float |
screen_window_width()
Returns the value of the
screen_window_width field. |
EXRHeader.Buffer |
screen_window_width(float value)
Sets the specified value to the
screen_window_width field. |
int |
tile_level_mode()
Returns the value of the
tile_level_mode field. |
EXRHeader.Buffer |
tile_level_mode(int value)
Sets the specified value to the
tile_level_mode field. |
int |
tile_rounding_mode()
Returns the value of the
tile_rounding_mode field. |
EXRHeader.Buffer |
tile_rounding_mode(int value)
Sets the specified value to the
tile_rounding_mode field. |
int |
tile_size_x()
Returns the value of the
tile_size_x field. |
EXRHeader.Buffer |
tile_size_x(int value)
Sets the specified value to the
tile_size_x field. |
int |
tile_size_y()
Returns the value of the
tile_size_y field. |
EXRHeader.Buffer |
tile_size_y(int value)
Sets the specified value to the
tile_size_y field. |
boolean |
tiled()
Returns the value of the
tiled field. |
EXRHeader.Buffer |
tiled(boolean value)
Sets the specified value to the
tiled field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
EXRHeader.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 EXRHeader.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 float pixel_aspect_ratio()
pixel_aspect_ratio field.public int line_order()
line_order field.public java.nio.IntBuffer data_window()
IntBuffer view of the data_window field.public int data_window(int index)
data_window field.public java.nio.IntBuffer display_window()
IntBuffer view of the display_window field.public int display_window(int index)
display_window field.public java.nio.FloatBuffer screen_window_center()
FloatBuffer view of the screen_window_center field.public float screen_window_center(int index)
screen_window_center field.public float screen_window_width()
screen_window_width field.public int chunk_count()
chunk_count field.public boolean tiled()
tiled field.public int tile_size_x()
tile_size_x field.public int tile_size_y()
tile_size_y field.public int tile_level_mode()
tile_level_mode field.public int tile_rounding_mode()
tile_rounding_mode field.public boolean long_name()
long_name field.public boolean non_image()
non_image field.public boolean multipart()
multipart field.public int header_len()
header_len field.public int num_custom_attributes()
num_custom_attributes field.@Nullable public EXRAttribute.Buffer custom_attributes()
EXRAttribute.Buffer view of the struct array pointed to by the custom_attributes field.public EXRChannelInfo.Buffer channels()
EXRChannelInfo.Buffer view of the struct array pointed to by the channels field.public java.nio.IntBuffer pixel_types()
IntBuffer view of the data pointed to by the pixel_types field.public int num_channels()
num_channels field.public int compression_type()
compression_type field.public java.nio.IntBuffer requested_pixel_types()
IntBuffer view of the data pointed to by the requested_pixel_types field.public EXRHeader.Buffer pixel_aspect_ratio(float value)
pixel_aspect_ratio field.public EXRHeader.Buffer line_order(int value)
line_order field.public EXRHeader.Buffer data_window(java.nio.IntBuffer value)
IntBuffer to the data_window field.public EXRHeader.Buffer data_window(int index, int value)
data_window field.public EXRHeader.Buffer display_window(java.nio.IntBuffer value)
IntBuffer to the display_window field.public EXRHeader.Buffer display_window(int index, int value)
display_window field.public EXRHeader.Buffer screen_window_center(java.nio.FloatBuffer value)
FloatBuffer to the screen_window_center field.public EXRHeader.Buffer screen_window_center(int index, float value)
screen_window_center field.public EXRHeader.Buffer screen_window_width(float value)
screen_window_width field.public EXRHeader.Buffer chunk_count(int value)
chunk_count field.public EXRHeader.Buffer tiled(boolean value)
tiled field.public EXRHeader.Buffer tile_size_x(int value)
tile_size_x field.public EXRHeader.Buffer tile_size_y(int value)
tile_size_y field.public EXRHeader.Buffer tile_level_mode(int value)
tile_level_mode field.public EXRHeader.Buffer tile_rounding_mode(int value)
tile_rounding_mode field.public EXRHeader.Buffer long_name(boolean value)
long_name field.public EXRHeader.Buffer non_image(boolean value)
non_image field.public EXRHeader.Buffer multipart(boolean value)
multipart field.public EXRHeader.Buffer header_len(int value)
header_len field.public EXRHeader.Buffer num_custom_attributes(int value)
num_custom_attributes field.public EXRHeader.Buffer custom_attributes(@Nullable EXRAttribute.Buffer value)
EXRAttribute.Buffer to the custom_attributes field.public EXRHeader.Buffer channels(EXRChannelInfo.Buffer value)
EXRChannelInfo.Buffer to the channels field.public EXRHeader.Buffer pixel_types(java.nio.IntBuffer value)
IntBuffer to the pixel_types field.public EXRHeader.Buffer num_channels(int value)
num_channels field.public EXRHeader.Buffer compression_type(int value)
compression_type field.public EXRHeader.Buffer requested_pixel_types(java.nio.IntBuffer value)
IntBuffer to the requested_pixel_types field.Copyright LWJGL. All Rights Reserved. License terms.