Package org.lwjgl.util.tinyexr
Class EXRHeader.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<EXRHeader,EXRHeader.Buffer>
-
- org.lwjgl.util.tinyexr.EXRHeader.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<EXRHeader>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- EXRHeader
public static class EXRHeader.Buffer extends org.lwjgl.system.StructBuffer<EXRHeader,EXRHeader.Buffer> implements org.lwjgl.system.NativeResource
An array ofEXRHeader
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EXRChannelInfo.Buffer
channels()
Returns aEXRChannelInfo.Buffer
view of the struct array pointed to by thechannels
field.EXRHeader.Buffer
channels(EXRChannelInfo.Buffer value)
Sets the address of the specifiedEXRChannelInfo.Buffer
to thechannels
field.int
chunk_count()
Returns the value of thechunk_count
field.EXRHeader.Buffer
chunk_count(int value)
Sets the specified value to thechunk_count
field.int
compression_type()
Returns the value of thecompression_type
field.EXRHeader.Buffer
compression_type(int value)
Sets the specified value to thecompression_type
field.EXRAttribute.Buffer
custom_attributes()
Returns aEXRAttribute.Buffer
view of the struct array pointed to by thecustom_attributes
field.EXRHeader.Buffer
custom_attributes(EXRAttribute.Buffer value)
Sets the address of the specifiedEXRAttribute.Buffer
to thecustom_attributes
field.java.nio.IntBuffer
data_window()
Returns aIntBuffer
view of thedata_window
field.int
data_window(int index)
Returns the value at the specified index of thedata_window
field.EXRHeader.Buffer
data_window(int index, int value)
Sets the specified value at the specified index of thedata_window
field.EXRHeader.Buffer
data_window(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to thedata_window
field.java.nio.IntBuffer
display_window()
Returns aIntBuffer
view of thedisplay_window
field.int
display_window(int index)
Returns the value at the specified index of thedisplay_window
field.EXRHeader.Buffer
display_window(int index, int value)
Sets the specified value at the specified index of thedisplay_window
field.EXRHeader.Buffer
display_window(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to thedisplay_window
field.int
header_len()
Returns the value of theheader_len
field.EXRHeader.Buffer
header_len(int value)
Sets the specified value to theheader_len
field.int
line_order()
Returns the value of theline_order
field.EXRHeader.Buffer
line_order(int value)
Sets the specified value to theline_order
field.boolean
long_name()
Returns the value of thelong_name
field.EXRHeader.Buffer
long_name(boolean value)
Sets the specified value to thelong_name
field.boolean
multipart()
Returns the value of themultipart
field.EXRHeader.Buffer
multipart(boolean value)
Sets the specified value to themultipart
field.boolean
non_image()
Returns the value of thenon_image
field.EXRHeader.Buffer
non_image(boolean value)
Sets the specified value to thenon_image
field.int
num_channels()
Returns the value of thenum_channels
field.EXRHeader.Buffer
num_channels(int value)
Sets the specified value to thenum_channels
field.int
num_custom_attributes()
Returns the value of thenum_custom_attributes
field.EXRHeader.Buffer
num_custom_attributes(int value)
Sets the specified value to thenum_custom_attributes
field.float
pixel_aspect_ratio()
Returns the value of thepixel_aspect_ratio
field.EXRHeader.Buffer
pixel_aspect_ratio(float value)
Sets the specified value to thepixel_aspect_ratio
field.java.nio.IntBuffer
pixel_types()
Returns aIntBuffer
view of the data pointed to by thepixel_types
field.EXRHeader.Buffer
pixel_types(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepixel_types
field.java.nio.IntBuffer
requested_pixel_types()
Returns aIntBuffer
view of the data pointed to by therequested_pixel_types
field.EXRHeader.Buffer
requested_pixel_types(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to therequested_pixel_types
field.java.nio.FloatBuffer
screen_window_center()
Returns aFloatBuffer
view of thescreen_window_center
field.float
screen_window_center(int index)
Returns the value at the specified index of thescreen_window_center
field.EXRHeader.Buffer
screen_window_center(int index, float value)
Sets the specified value at the specified index of thescreen_window_center
field.EXRHeader.Buffer
screen_window_center(java.nio.FloatBuffer value)
Copies the specifiedFloatBuffer
to thescreen_window_center
field.float
screen_window_width()
Returns the value of thescreen_window_width
field.EXRHeader.Buffer
screen_window_width(float value)
Sets the specified value to thescreen_window_width
field.int
tile_level_mode()
Returns the value of thetile_level_mode
field.EXRHeader.Buffer
tile_level_mode(int value)
Sets the specified value to thetile_level_mode
field.int
tile_rounding_mode()
Returns the value of thetile_rounding_mode
field.EXRHeader.Buffer
tile_rounding_mode(int value)
Sets the specified value to thetile_rounding_mode
field.int
tile_size_x()
Returns the value of thetile_size_x
field.EXRHeader.Buffer
tile_size_x(int value)
Sets the specified value to thetile_size_x
field.int
tile_size_y()
Returns the value of thetile_size_y
field.EXRHeader.Buffer
tile_size_y(int value)
Sets the specified value to thetile_size_y
field.boolean
tiled()
Returns the value of thetiled
field.EXRHeader.Buffer
tiled(boolean value)
Sets the specified value to thetiled
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newEXRHeader.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 byEXRHeader.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
-
pixel_aspect_ratio
public float pixel_aspect_ratio()
Returns the value of thepixel_aspect_ratio
field.
-
line_order
public int line_order()
Returns the value of theline_order
field.
-
data_window
public java.nio.IntBuffer data_window()
Returns aIntBuffer
view of thedata_window
field.
-
data_window
public int data_window(int index)
Returns the value at the specified index of thedata_window
field.
-
display_window
public java.nio.IntBuffer display_window()
Returns aIntBuffer
view of thedisplay_window
field.
-
display_window
public int display_window(int index)
Returns the value at the specified index of thedisplay_window
field.
-
screen_window_center
public java.nio.FloatBuffer screen_window_center()
Returns aFloatBuffer
view of thescreen_window_center
field.
-
screen_window_center
public float screen_window_center(int index)
Returns the value at the specified index of thescreen_window_center
field.
-
screen_window_width
public float screen_window_width()
Returns the value of thescreen_window_width
field.
-
chunk_count
public int chunk_count()
Returns the value of thechunk_count
field.
-
tiled
public boolean tiled()
Returns the value of thetiled
field.
-
tile_size_x
public int tile_size_x()
Returns the value of thetile_size_x
field.
-
tile_size_y
public int tile_size_y()
Returns the value of thetile_size_y
field.
-
tile_level_mode
public int tile_level_mode()
Returns the value of thetile_level_mode
field.
-
tile_rounding_mode
public int tile_rounding_mode()
Returns the value of thetile_rounding_mode
field.
-
long_name
public boolean long_name()
Returns the value of thelong_name
field.
-
non_image
public boolean non_image()
Returns the value of thenon_image
field.
-
multipart
public boolean multipart()
Returns the value of themultipart
field.
-
header_len
public int header_len()
Returns the value of theheader_len
field.
-
num_custom_attributes
public int num_custom_attributes()
Returns the value of thenum_custom_attributes
field.
-
custom_attributes
@Nullable public EXRAttribute.Buffer custom_attributes()
Returns aEXRAttribute.Buffer
view of the struct array pointed to by thecustom_attributes
field.
-
channels
public EXRChannelInfo.Buffer channels()
Returns aEXRChannelInfo.Buffer
view of the struct array pointed to by thechannels
field.
-
pixel_types
public java.nio.IntBuffer pixel_types()
Returns aIntBuffer
view of the data pointed to by thepixel_types
field.
-
num_channels
public int num_channels()
Returns the value of thenum_channels
field.
-
compression_type
public int compression_type()
Returns the value of thecompression_type
field.
-
requested_pixel_types
public java.nio.IntBuffer requested_pixel_types()
Returns aIntBuffer
view of the data pointed to by therequested_pixel_types
field.
-
pixel_aspect_ratio
public EXRHeader.Buffer pixel_aspect_ratio(float value)
Sets the specified value to thepixel_aspect_ratio
field.
-
line_order
public EXRHeader.Buffer line_order(int value)
Sets the specified value to theline_order
field.
-
data_window
public EXRHeader.Buffer data_window(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to thedata_window
field.
-
data_window
public EXRHeader.Buffer data_window(int index, int value)
Sets the specified value at the specified index of thedata_window
field.
-
display_window
public EXRHeader.Buffer display_window(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to thedisplay_window
field.
-
display_window
public EXRHeader.Buffer display_window(int index, int value)
Sets the specified value at the specified index of thedisplay_window
field.
-
screen_window_center
public EXRHeader.Buffer screen_window_center(java.nio.FloatBuffer value)
Copies the specifiedFloatBuffer
to thescreen_window_center
field.
-
screen_window_center
public EXRHeader.Buffer screen_window_center(int index, float value)
Sets the specified value at the specified index of thescreen_window_center
field.
-
screen_window_width
public EXRHeader.Buffer screen_window_width(float value)
Sets the specified value to thescreen_window_width
field.
-
chunk_count
public EXRHeader.Buffer chunk_count(int value)
Sets the specified value to thechunk_count
field.
-
tiled
public EXRHeader.Buffer tiled(boolean value)
Sets the specified value to thetiled
field.
-
tile_size_x
public EXRHeader.Buffer tile_size_x(int value)
Sets the specified value to thetile_size_x
field.
-
tile_size_y
public EXRHeader.Buffer tile_size_y(int value)
Sets the specified value to thetile_size_y
field.
-
tile_level_mode
public EXRHeader.Buffer tile_level_mode(int value)
Sets the specified value to thetile_level_mode
field.
-
tile_rounding_mode
public EXRHeader.Buffer tile_rounding_mode(int value)
Sets the specified value to thetile_rounding_mode
field.
-
long_name
public EXRHeader.Buffer long_name(boolean value)
Sets the specified value to thelong_name
field.
-
non_image
public EXRHeader.Buffer non_image(boolean value)
Sets the specified value to thenon_image
field.
-
multipart
public EXRHeader.Buffer multipart(boolean value)
Sets the specified value to themultipart
field.
-
header_len
public EXRHeader.Buffer header_len(int value)
Sets the specified value to theheader_len
field.
-
num_custom_attributes
public EXRHeader.Buffer num_custom_attributes(int value)
Sets the specified value to thenum_custom_attributes
field.
-
custom_attributes
public EXRHeader.Buffer custom_attributes(@Nullable EXRAttribute.Buffer value)
Sets the address of the specifiedEXRAttribute.Buffer
to thecustom_attributes
field.
-
channels
public EXRHeader.Buffer channels(EXRChannelInfo.Buffer value)
Sets the address of the specifiedEXRChannelInfo.Buffer
to thechannels
field.
-
pixel_types
public EXRHeader.Buffer pixel_types(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepixel_types
field.
-
num_channels
public EXRHeader.Buffer num_channels(int value)
Sets the specified value to thenum_channels
field.
-
compression_type
public EXRHeader.Buffer compression_type(int value)
Sets the specified value to thecompression_type
field.
-
requested_pixel_types
public EXRHeader.Buffer requested_pixel_types(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to therequested_pixel_types
field.
-
-