Package org.lwjgl.util.tinyexr
Class EXRHeader
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.util.tinyexr.EXRHeader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class EXRHeader extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Member documentation
num_custom_attributes
– number ofEXRAttribute
in thecustom_attributes
arraycustom_attributes
– custom attributes (excludes required attributes, e.g. `channels`, `compression`, etc)pixel_types
– loaded pixel type (TINYEXR_PIXELTYPE_*) ofimages
for each channel. This is overwritten withrequested_pixel_types
when loading.compression_type
– compression type (TINYEXR_COMPRESSIONTYPE_*)requested_pixel_types
– filled initially byParseEXRHeaderFrom(Memory|File)
, then users can edit it (only valid for HALF pixel type channel)
Layout
struct EXRHeader { float pixel_aspect_ratio; int line_order; int data_window[4]; int display_window[4]; float screen_window_center[2]; float screen_window_width; int chunk_count; int tiled; int tile_size_x; int tile_size_y; int tile_level_mode; int tile_rounding_mode; int long_name; int non_image; int multipart; unsigned int header_len; int num_custom_attributes;
EXRAttribute
* custom_attributes;EXRChannelInfo
* channels; int * pixel_types; int num_channels; int compression_type; int * requested_pixel_types; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EXRHeader.Buffer
An array ofEXRHeader
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
CHANNELS
CHUNK_COUNT
COMPRESSION_TYPE
CUSTOM_ATTRIBUTES
DATA_WINDOW
DISPLAY_WINDOW
HEADER_LEN
LINE_ORDER
LONG_NAME
MULTIPART
NON_IMAGE
NUM_CHANNELS
NUM_CUSTOM_ATTRIBUTES
PIXEL_ASPECT_RATIO
PIXEL_TYPES
REQUESTED_PIXEL_TYPES
SCREEN_WINDOW_CENTER
SCREEN_WINDOW_WIDTHThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
TILE_LEVEL_MODE
TILE_ROUNDING_MODE
TILE_SIZE_X
TILE_SIZE_Y
TILEDThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description EXRHeader(java.nio.ByteBuffer container)
Creates aEXRHeader
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EXRHeader
calloc()
Returns a newEXRHeader
instance allocated withmemCalloc
.static EXRHeader.Buffer
calloc(int capacity)
Returns a newEXRHeader.Buffer
instance allocated withmemCalloc
.static EXRHeader
callocStack()
Returns a newEXRHeader
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static EXRHeader.Buffer
callocStack(int capacity)
Returns a newEXRHeader.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static EXRHeader.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static EXRHeader
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.EXRChannelInfo.Buffer
channels()
Returns aEXRChannelInfo.Buffer
view of the struct array pointed to by thechannels
field.EXRHeader
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
chunk_count(int value)
Sets the specified value to thechunk_count
field.int
compression_type()
Returns the value of thecompression_type
field.EXRHeader
compression_type(int value)
Sets the specified value to thecompression_type
field.static EXRHeader
create()
Returns a newEXRHeader
instance allocated withBufferUtils
.static EXRHeader.Buffer
create(int capacity)
Returns a newEXRHeader.Buffer
instance allocated withBufferUtils
.static EXRHeader
create(long address)
Returns a newEXRHeader
instance for the specified memory address.static EXRHeader.Buffer
create(long address, int capacity)
Create aEXRHeader.Buffer
instance at the specified memory.static EXRHeader
createSafe(long address)
static EXRHeader.Buffer
createSafe(long address, int capacity)
EXRAttribute.Buffer
custom_attributes()
Returns aEXRAttribute.Buffer
view of the struct array pointed to by thecustom_attributes
field.EXRHeader
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
data_window(int index, int value)
Sets the specified value at the specified index of thedata_window
field.EXRHeader
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
display_window(int index, int value)
Sets the specified value at the specified index of thedisplay_window
field.EXRHeader
display_window(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to thedisplay_window
field.int
header_len()
Returns the value of theheader_len
field.EXRHeader
header_len(int value)
Sets the specified value to theheader_len
field.int
line_order()
Returns the value of theline_order
field.EXRHeader
line_order(int value)
Sets the specified value to theline_order
field.boolean
long_name()
Returns the value of thelong_name
field.EXRHeader
long_name(boolean value)
Sets the specified value to thelong_name
field.static EXRHeader
malloc()
Returns a newEXRHeader
instance allocated withmemAlloc
.static EXRHeader.Buffer
malloc(int capacity)
Returns a newEXRHeader.Buffer
instance allocated withmemAlloc
.static EXRHeader
mallocStack()
Returns a newEXRHeader
instance allocated on the thread-localMemoryStack
.static EXRHeader.Buffer
mallocStack(int capacity)
Returns a newEXRHeader.Buffer
instance allocated on the thread-localMemoryStack
.static EXRHeader.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader.Buffer
instance allocated on the specifiedMemoryStack
.static EXRHeader
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader
instance allocated on the specifiedMemoryStack
.boolean
multipart()
Returns the value of themultipart
field.EXRHeader
multipart(boolean value)
Sets the specified value to themultipart
field.static EXRChannelInfo.Buffer
nchannels(long struct)
Unsafe version ofchannels()
.static void
nchannels(long struct, EXRChannelInfo.Buffer value)
Unsafe version ofchannels
.static int
nchunk_count(long struct)
Unsafe version ofchunk_count()
.static void
nchunk_count(long struct, int value)
Unsafe version ofchunk_count
.static int
ncompression_type(long struct)
Unsafe version ofcompression_type()
.static void
ncompression_type(long struct, int value)
Unsafe version ofcompression_type
.static EXRAttribute.Buffer
ncustom_attributes(long struct)
Unsafe version ofcustom_attributes()
.static void
ncustom_attributes(long struct, EXRAttribute.Buffer value)
Unsafe version ofcustom_attributes
.static java.nio.IntBuffer
ndata_window(long struct)
Unsafe version ofdata_window()
.static int
ndata_window(long struct, int index)
Unsafe version ofdata_window
.static void
ndata_window(long struct, int index, int value)
Unsafe version ofdata_window
.static void
ndata_window(long struct, java.nio.IntBuffer value)
Unsafe version ofdata_window
.static java.nio.IntBuffer
ndisplay_window(long struct)
Unsafe version ofdisplay_window()
.static int
ndisplay_window(long struct, int index)
Unsafe version ofdisplay_window
.static void
ndisplay_window(long struct, int index, int value)
Unsafe version ofdisplay_window
.static void
ndisplay_window(long struct, java.nio.IntBuffer value)
Unsafe version ofdisplay_window
.static int
nheader_len(long struct)
Unsafe version ofheader_len()
.static void
nheader_len(long struct, int value)
Unsafe version ofheader_len
.static int
nline_order(long struct)
Unsafe version ofline_order()
.static void
nline_order(long struct, int value)
Unsafe version ofline_order
.static int
nlong_name(long struct)
Unsafe version oflong_name()
.static void
nlong_name(long struct, int value)
Unsafe version oflong_name
.static int
nmultipart(long struct)
Unsafe version ofmultipart()
.static void
nmultipart(long struct, int value)
Unsafe version ofmultipart
.static int
nnon_image(long struct)
Unsafe version ofnon_image()
.static void
nnon_image(long struct, int value)
Unsafe version ofnon_image
.static int
nnum_channels(long struct)
Unsafe version ofnum_channels()
.static void
nnum_channels(long struct, int value)
Sets the specified value to thenum_channels
field of the specifiedstruct
.static int
nnum_custom_attributes(long struct)
Unsafe version ofnum_custom_attributes()
.static void
nnum_custom_attributes(long struct, int value)
Sets the specified value to thenum_custom_attributes
field of the specifiedstruct
.boolean
non_image()
Returns the value of thenon_image
field.EXRHeader
non_image(boolean value)
Sets the specified value to thenon_image
field.static float
npixel_aspect_ratio(long struct)
Unsafe version ofpixel_aspect_ratio()
.static void
npixel_aspect_ratio(long struct, float value)
Unsafe version ofpixel_aspect_ratio
.static java.nio.IntBuffer
npixel_types(long struct)
Unsafe version ofpixel_types
.static void
npixel_types(long struct, java.nio.IntBuffer value)
Unsafe version ofpixel_types
.static java.nio.IntBuffer
nrequested_pixel_types(long struct)
Unsafe version ofrequested_pixel_types
.static void
nrequested_pixel_types(long struct, java.nio.IntBuffer value)
Unsafe version ofrequested_pixel_types
.static java.nio.FloatBuffer
nscreen_window_center(long struct)
Unsafe version ofscreen_window_center()
.static float
nscreen_window_center(long struct, int index)
Unsafe version ofscreen_window_center
.static void
nscreen_window_center(long struct, int index, float value)
Unsafe version ofscreen_window_center
.static void
nscreen_window_center(long struct, java.nio.FloatBuffer value)
Unsafe version ofscreen_window_center
.static float
nscreen_window_width(long struct)
Unsafe version ofscreen_window_width()
.static void
nscreen_window_width(long struct, float value)
Unsafe version ofscreen_window_width
.static int
ntile_level_mode(long struct)
Unsafe version oftile_level_mode()
.static void
ntile_level_mode(long struct, int value)
Unsafe version oftile_level_mode
.static int
ntile_rounding_mode(long struct)
Unsafe version oftile_rounding_mode()
.static void
ntile_rounding_mode(long struct, int value)
Unsafe version oftile_rounding_mode
.static int
ntile_size_x(long struct)
Unsafe version oftile_size_x()
.static void
ntile_size_x(long struct, int value)
Unsafe version oftile_size_x
.static int
ntile_size_y(long struct)
Unsafe version oftile_size_y()
.static void
ntile_size_y(long struct, int value)
Unsafe version oftile_size_y
.static int
ntiled(long struct)
Unsafe version oftiled()
.static void
ntiled(long struct, int value)
Unsafe version oftiled
.int
num_channels()
Returns the value of thenum_channels
field.EXRHeader
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
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
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
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
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
screen_window_center(int index, float value)
Sets the specified value at the specified index of thescreen_window_center
field.EXRHeader
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
screen_window_width(float value)
Sets the specified value to thescreen_window_width
field.EXRHeader
set(float pixel_aspect_ratio, int line_order, java.nio.IntBuffer data_window, java.nio.IntBuffer display_window, java.nio.FloatBuffer screen_window_center, float screen_window_width, int chunk_count, boolean tiled, int tile_size_x, int tile_size_y, int tile_level_mode, int tile_rounding_mode, boolean long_name, boolean non_image, boolean multipart, int header_len, int num_custom_attributes, EXRAttribute.Buffer custom_attributes, EXRChannelInfo.Buffer channels, java.nio.IntBuffer pixel_types, int num_channels, int compression_type, java.nio.IntBuffer requested_pixel_types)
Initializes this struct with the specified values.EXRHeader
set(EXRHeader src)
Copies the specified struct data to this struct.int
sizeof()
int
tile_level_mode()
Returns the value of thetile_level_mode
field.EXRHeader
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
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
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
tile_size_y(int value)
Sets the specified value to thetile_size_y
field.boolean
tiled()
Returns the value of thetiled
field.EXRHeader
tiled(boolean value)
Sets the specified value to thetiled
field.static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
PIXEL_ASPECT_RATIO, LINE_ORDER, DATA_WINDOW, DISPLAY_WINDOW, SCREEN_WINDOW_CENTER, SCREEN_WINDOW_WIDTH, CHUNK_COUNT, TILED, TILE_SIZE_X, TILE_SIZE_Y, TILE_LEVEL_MODE, TILE_ROUNDING_MODE, LONG_NAME, NON_IMAGE, MULTIPART, HEADER_LEN, NUM_CUSTOM_ATTRIBUTES, CUSTOM_ATTRIBUTES, CHANNELS, PIXEL_TYPES, NUM_CHANNELS, COMPRESSION_TYPE, REQUESTED_PIXEL_TYPES
The struct member offsets.
-
-
Constructor Detail
-
EXRHeader
public EXRHeader(java.nio.ByteBuffer container)
Creates aEXRHeader
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
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 pixel_aspect_ratio(float value)
Sets the specified value to thepixel_aspect_ratio
field.
-
line_order
public EXRHeader line_order(int value)
Sets the specified value to theline_order
field.
-
data_window
public EXRHeader data_window(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to thedata_window
field.
-
data_window
public EXRHeader data_window(int index, int value)
Sets the specified value at the specified index of thedata_window
field.
-
display_window
public EXRHeader display_window(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to thedisplay_window
field.
-
display_window
public EXRHeader display_window(int index, int value)
Sets the specified value at the specified index of thedisplay_window
field.
-
screen_window_center
public EXRHeader screen_window_center(java.nio.FloatBuffer value)
Copies the specifiedFloatBuffer
to thescreen_window_center
field.
-
screen_window_center
public EXRHeader 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 screen_window_width(float value)
Sets the specified value to thescreen_window_width
field.
-
chunk_count
public EXRHeader chunk_count(int value)
Sets the specified value to thechunk_count
field.
-
tiled
public EXRHeader tiled(boolean value)
Sets the specified value to thetiled
field.
-
tile_size_x
public EXRHeader tile_size_x(int value)
Sets the specified value to thetile_size_x
field.
-
tile_size_y
public EXRHeader tile_size_y(int value)
Sets the specified value to thetile_size_y
field.
-
tile_level_mode
public EXRHeader tile_level_mode(int value)
Sets the specified value to thetile_level_mode
field.
-
tile_rounding_mode
public EXRHeader tile_rounding_mode(int value)
Sets the specified value to thetile_rounding_mode
field.
-
long_name
public EXRHeader long_name(boolean value)
Sets the specified value to thelong_name
field.
-
non_image
public EXRHeader non_image(boolean value)
Sets the specified value to thenon_image
field.
-
multipart
public EXRHeader multipart(boolean value)
Sets the specified value to themultipart
field.
-
header_len
public EXRHeader header_len(int value)
Sets the specified value to theheader_len
field.
-
num_custom_attributes
public EXRHeader num_custom_attributes(int value)
Sets the specified value to thenum_custom_attributes
field.
-
custom_attributes
public EXRHeader custom_attributes(@Nullable EXRAttribute.Buffer value)
Sets the address of the specifiedEXRAttribute.Buffer
to thecustom_attributes
field.
-
channels
public EXRHeader channels(EXRChannelInfo.Buffer value)
Sets the address of the specifiedEXRChannelInfo.Buffer
to thechannels
field.
-
pixel_types
public EXRHeader pixel_types(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepixel_types
field.
-
num_channels
public EXRHeader num_channels(int value)
Sets the specified value to thenum_channels
field.
-
compression_type
public EXRHeader compression_type(int value)
Sets the specified value to thecompression_type
field.
-
requested_pixel_types
public EXRHeader requested_pixel_types(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to therequested_pixel_types
field.
-
set
public EXRHeader set(float pixel_aspect_ratio, int line_order, java.nio.IntBuffer data_window, java.nio.IntBuffer display_window, java.nio.FloatBuffer screen_window_center, float screen_window_width, int chunk_count, boolean tiled, int tile_size_x, int tile_size_y, int tile_level_mode, int tile_rounding_mode, boolean long_name, boolean non_image, boolean multipart, int header_len, int num_custom_attributes, @Nullable EXRAttribute.Buffer custom_attributes, EXRChannelInfo.Buffer channels, java.nio.IntBuffer pixel_types, int num_channels, int compression_type, java.nio.IntBuffer requested_pixel_types)
Initializes this struct with the specified values.
-
set
public EXRHeader set(EXRHeader src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static EXRHeader malloc()
Returns a newEXRHeader
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static EXRHeader calloc()
Returns a newEXRHeader
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static EXRHeader create()
Returns a newEXRHeader
instance allocated withBufferUtils
.
-
create
public static EXRHeader create(long address)
Returns a newEXRHeader
instance for the specified memory address.
-
createSafe
@Nullable public static EXRHeader createSafe(long address)
-
malloc
public static EXRHeader.Buffer malloc(int capacity)
Returns a newEXRHeader.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static EXRHeader.Buffer calloc(int capacity)
Returns a newEXRHeader.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static EXRHeader.Buffer create(int capacity)
Returns a newEXRHeader.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static EXRHeader.Buffer create(long address, int capacity)
Create aEXRHeader.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static EXRHeader.Buffer createSafe(long address, int capacity)
-
mallocStack
public static EXRHeader mallocStack()
Returns a newEXRHeader
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static EXRHeader callocStack()
Returns a newEXRHeader
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static EXRHeader mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static EXRHeader callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static EXRHeader.Buffer mallocStack(int capacity)
Returns a newEXRHeader.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static EXRHeader.Buffer callocStack(int capacity)
Returns a newEXRHeader.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static EXRHeader.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static EXRHeader.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
npixel_aspect_ratio
public static float npixel_aspect_ratio(long struct)
Unsafe version ofpixel_aspect_ratio()
.
-
nline_order
public static int nline_order(long struct)
Unsafe version ofline_order()
.
-
ndata_window
public static java.nio.IntBuffer ndata_window(long struct)
Unsafe version ofdata_window()
.
-
ndata_window
public static int ndata_window(long struct, int index)
Unsafe version ofdata_window
.
-
ndisplay_window
public static java.nio.IntBuffer ndisplay_window(long struct)
Unsafe version ofdisplay_window()
.
-
ndisplay_window
public static int ndisplay_window(long struct, int index)
Unsafe version ofdisplay_window
.
-
nscreen_window_center
public static java.nio.FloatBuffer nscreen_window_center(long struct)
Unsafe version ofscreen_window_center()
.
-
nscreen_window_center
public static float nscreen_window_center(long struct, int index)
Unsafe version ofscreen_window_center
.
-
nscreen_window_width
public static float nscreen_window_width(long struct)
Unsafe version ofscreen_window_width()
.
-
nchunk_count
public static int nchunk_count(long struct)
Unsafe version ofchunk_count()
.
-
ntiled
public static int ntiled(long struct)
Unsafe version oftiled()
.
-
ntile_size_x
public static int ntile_size_x(long struct)
Unsafe version oftile_size_x()
.
-
ntile_size_y
public static int ntile_size_y(long struct)
Unsafe version oftile_size_y()
.
-
ntile_level_mode
public static int ntile_level_mode(long struct)
Unsafe version oftile_level_mode()
.
-
ntile_rounding_mode
public static int ntile_rounding_mode(long struct)
Unsafe version oftile_rounding_mode()
.
-
nlong_name
public static int nlong_name(long struct)
Unsafe version oflong_name()
.
-
nnon_image
public static int nnon_image(long struct)
Unsafe version ofnon_image()
.
-
nmultipart
public static int nmultipart(long struct)
Unsafe version ofmultipart()
.
-
nheader_len
public static int nheader_len(long struct)
Unsafe version ofheader_len()
.
-
nnum_custom_attributes
public static int nnum_custom_attributes(long struct)
Unsafe version ofnum_custom_attributes()
.
-
ncustom_attributes
@Nullable public static EXRAttribute.Buffer ncustom_attributes(long struct)
Unsafe version ofcustom_attributes()
.
-
nchannels
public static EXRChannelInfo.Buffer nchannels(long struct)
Unsafe version ofchannels()
.
-
npixel_types
public static java.nio.IntBuffer npixel_types(long struct)
Unsafe version ofpixel_types
.
-
nnum_channels
public static int nnum_channels(long struct)
Unsafe version ofnum_channels()
.
-
ncompression_type
public static int ncompression_type(long struct)
Unsafe version ofcompression_type()
.
-
nrequested_pixel_types
public static java.nio.IntBuffer nrequested_pixel_types(long struct)
Unsafe version ofrequested_pixel_types
.
-
npixel_aspect_ratio
public static void npixel_aspect_ratio(long struct, float value)
Unsafe version ofpixel_aspect_ratio
.
-
nline_order
public static void nline_order(long struct, int value)
Unsafe version ofline_order
.
-
ndata_window
public static void ndata_window(long struct, java.nio.IntBuffer value)
Unsafe version ofdata_window
.
-
ndata_window
public static void ndata_window(long struct, int index, int value)
Unsafe version ofdata_window
.
-
ndisplay_window
public static void ndisplay_window(long struct, java.nio.IntBuffer value)
Unsafe version ofdisplay_window
.
-
ndisplay_window
public static void ndisplay_window(long struct, int index, int value)
Unsafe version ofdisplay_window
.
-
nscreen_window_center
public static void nscreen_window_center(long struct, java.nio.FloatBuffer value)
Unsafe version ofscreen_window_center
.
-
nscreen_window_center
public static void nscreen_window_center(long struct, int index, float value)
Unsafe version ofscreen_window_center
.
-
nscreen_window_width
public static void nscreen_window_width(long struct, float value)
Unsafe version ofscreen_window_width
.
-
nchunk_count
public static void nchunk_count(long struct, int value)
Unsafe version ofchunk_count
.
-
ntiled
public static void ntiled(long struct, int value)
Unsafe version oftiled
.
-
ntile_size_x
public static void ntile_size_x(long struct, int value)
Unsafe version oftile_size_x
.
-
ntile_size_y
public static void ntile_size_y(long struct, int value)
Unsafe version oftile_size_y
.
-
ntile_level_mode
public static void ntile_level_mode(long struct, int value)
Unsafe version oftile_level_mode
.
-
ntile_rounding_mode
public static void ntile_rounding_mode(long struct, int value)
Unsafe version oftile_rounding_mode
.
-
nlong_name
public static void nlong_name(long struct, int value)
Unsafe version oflong_name
.
-
nnon_image
public static void nnon_image(long struct, int value)
Unsafe version ofnon_image
.
-
nmultipart
public static void nmultipart(long struct, int value)
Unsafe version ofmultipart
.
-
nheader_len
public static void nheader_len(long struct, int value)
Unsafe version ofheader_len
.
-
nnum_custom_attributes
public static void nnum_custom_attributes(long struct, int value)
Sets the specified value to thenum_custom_attributes
field of the specifiedstruct
.
-
ncustom_attributes
public static void ncustom_attributes(long struct, @Nullable EXRAttribute.Buffer value)
Unsafe version ofcustom_attributes
.
-
nchannels
public static void nchannels(long struct, EXRChannelInfo.Buffer value)
Unsafe version ofchannels
.
-
npixel_types
public static void npixel_types(long struct, java.nio.IntBuffer value)
Unsafe version ofpixel_types
.
-
nnum_channels
public static void nnum_channels(long struct, int value)
Sets the specified value to thenum_channels
field of the specifiedstruct
.
-
ncompression_type
public static void ncompression_type(long struct, int value)
Unsafe version ofcompression_type
.
-
nrequested_pixel_types
public static void nrequested_pixel_types(long struct, java.nio.IntBuffer value)
Unsafe version ofrequested_pixel_types
.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-
validate
public static void validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.- Parameters:
array
- the struct array to validatecount
- the number of structs inarray
-
-