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.NativeResourceLayout
struct EXRHeader { float pixel_aspect_ratio; int line_order;EXRBox2idata_window;EXRBox2idisplay_window; 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; intnon_image(); int multipart; unsigned int header_len; intnum_custom_attributes();EXRAttribute*custom_attributes();EXRChannelInfo* channels; int *pixel_types(); int num_channels; intcompression_type(); int *requested_pixel_types(); charname()[256]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEXRHeader.BufferAn array ofEXRHeaderstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCHANNELS
CHUNK_COUNT
COMPRESSION_TYPE
CUSTOM_ATTRIBUTES
DATA_WINDOW
DISPLAY_WINDOW
HEADER_LEN
LINE_ORDER
LONG_NAME
MULTIPART
NAME
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 intSIZEOFThe struct size in bytes.static intTILE_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 aEXRHeaderinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EXRHeadercalloc()Returns a newEXRHeaderinstance allocated withmemCalloc.static EXRHeader.Buffercalloc(int capacity)Returns a newEXRHeader.Bufferinstance allocated withmemCalloc.static EXRHeader.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newEXRHeader.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static EXRHeadercalloc(org.lwjgl.system.MemoryStack stack)Returns a newEXRHeaderinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static EXRHeadercallocStack()Deprecated.static EXRHeader.BuffercallocStack(int capacity)Deprecated.static EXRHeader.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static EXRHeadercallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.EXRChannelInfo.Bufferchannels()EXRHeaderchannels(EXRChannelInfo.Buffer value)Sets the address of the specifiedEXRChannelInfo.Bufferto thechannelsfield.intchunk_count()EXRHeaderchunk_count(int value)Sets the specified value to thechunk_countfield.intcompression_type()compression type (TINYEXR_COMPRESSIONTYPE_*)EXRHeadercompression_type(int value)Sets the specified value to thecompression_type()field.static EXRHeadercreate()Returns a newEXRHeaderinstance allocated withBufferUtils.static EXRHeader.Buffercreate(int capacity)Returns a newEXRHeader.Bufferinstance allocated withBufferUtils.static EXRHeadercreate(long address)Returns a newEXRHeaderinstance for the specified memory address.static EXRHeader.Buffercreate(long address, int capacity)Create aEXRHeader.Bufferinstance at the specified memory.static EXRHeadercreateSafe(long address)static EXRHeader.BuffercreateSafe(long address, int capacity)EXRAttribute.Buffercustom_attributes()custom attributes (excludes required attributes, e.g.EXRHeadercustom_attributes(EXRAttribute.Buffer value)Sets the address of the specifiedEXRAttribute.Bufferto thecustom_attributes()field.EXRBox2idata_window()EXRHeaderdata_window(java.util.function.Consumer<EXRBox2i> consumer)Passes thedata_windowfield to the specifiedConsumer.EXRHeaderdata_window(EXRBox2i value)Copies the specifiedEXRBox2ito thedata_windowfield.EXRBox2idisplay_window()EXRHeaderdisplay_window(java.util.function.Consumer<EXRBox2i> consumer)Passes thedisplay_windowfield to the specifiedConsumer.EXRHeaderdisplay_window(EXRBox2i value)Copies the specifiedEXRBox2ito thedisplay_windowfield.intheader_len()EXRHeaderheader_len(int value)Sets the specified value to theheader_lenfield.intline_order()EXRHeaderline_order(int value)Sets the specified value to theline_orderfield.booleanlong_name()EXRHeaderlong_name(boolean value)Sets the specified value to thelong_namefield.static EXRHeadermalloc()Returns a newEXRHeaderinstance allocated withmemAlloc.static EXRHeader.Buffermalloc(int capacity)Returns a newEXRHeader.Bufferinstance allocated withmemAlloc.static EXRHeader.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newEXRHeader.Bufferinstance allocated on the specifiedMemoryStack.static EXRHeadermalloc(org.lwjgl.system.MemoryStack stack)Returns a newEXRHeaderinstance allocated on the specifiedMemoryStack.static EXRHeadermallocStack()Deprecated.static EXRHeader.BuffermallocStack(int capacity)Deprecated.static EXRHeader.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static EXRHeadermallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.booleanmultipart()EXRHeadermultipart(boolean value)Sets the specified value to themultipartfield.java.nio.ByteBuffername()Name attribute required for multipart files.EXRHeadername(java.nio.ByteBuffer value)Copies the specified encoded string to thename()field.java.lang.StringnameString()Name attribute required for multipart files.static EXRChannelInfo.Buffernchannels(long struct)Unsafe version ofchannels().static voidnchannels(long struct, EXRChannelInfo.Buffer value)Unsafe version ofchannels.static intnchunk_count(long struct)Unsafe version ofchunk_count().static voidnchunk_count(long struct, int value)Unsafe version ofchunk_count.static intncompression_type(long struct)Unsafe version ofcompression_type().static voidncompression_type(long struct, int value)Unsafe version ofcompression_type.static EXRAttribute.Bufferncustom_attributes(long struct)Unsafe version ofcustom_attributes().static voidncustom_attributes(long struct, EXRAttribute.Buffer value)Unsafe version ofcustom_attributes.static EXRBox2indata_window(long struct)Unsafe version ofdata_window().static voidndata_window(long struct, EXRBox2i value)Unsafe version ofdata_window.static EXRBox2indisplay_window(long struct)Unsafe version ofdisplay_window().static voidndisplay_window(long struct, EXRBox2i value)Unsafe version ofdisplay_window.static intnheader_len(long struct)Unsafe version ofheader_len().static voidnheader_len(long struct, int value)Unsafe version ofheader_len.static intnline_order(long struct)Unsafe version ofline_order().static voidnline_order(long struct, int value)Unsafe version ofline_order.static intnlong_name(long struct)Unsafe version oflong_name().static voidnlong_name(long struct, int value)Unsafe version oflong_name.static intnmultipart(long struct)Unsafe version ofmultipart().static voidnmultipart(long struct, int value)Unsafe version ofmultipart.static java.nio.ByteBuffernname(long struct)Unsafe version ofname().static voidnname(long struct, java.nio.ByteBuffer value)Unsafe version ofname.static java.lang.StringnnameString(long struct)Unsafe version ofnameString().static intnnon_image(long struct)Unsafe version ofnon_image().static voidnnon_image(long struct, int value)Unsafe version ofnon_image.static intnnum_channels(long struct)Unsafe version ofnum_channels().static voidnnum_channels(long struct, int value)Sets the specified value to thenum_channelsfield of the specifiedstruct.static intnnum_custom_attributes(long struct)Unsafe version ofnum_custom_attributes().static voidnnum_custom_attributes(long struct, int value)Sets the specified value to thenum_custom_attributesfield of the specifiedstruct.booleannon_image()For a single-part file, agree with the version field bit 11.EXRHeadernon_image(boolean value)Sets the specified value to thenon_image()field.static floatnpixel_aspect_ratio(long struct)Unsafe version ofpixel_aspect_ratio().static voidnpixel_aspect_ratio(long struct, float value)Unsafe version ofpixel_aspect_ratio.static java.nio.IntBuffernpixel_types(long struct)Unsafe version ofpixel_types.static voidnpixel_types(long struct, java.nio.IntBuffer value)Unsafe version ofpixel_types.static java.nio.IntBuffernrequested_pixel_types(long struct)Unsafe version ofrequested_pixel_types.static voidnrequested_pixel_types(long struct, java.nio.IntBuffer value)Unsafe version ofrequested_pixel_types.static java.nio.FloatBuffernscreen_window_center(long struct)Unsafe version ofscreen_window_center().static floatnscreen_window_center(long struct, int index)Unsafe version ofscreen_window_center.static voidnscreen_window_center(long struct, int index, float value)Unsafe version ofscreen_window_center.static voidnscreen_window_center(long struct, java.nio.FloatBuffer value)Unsafe version ofscreen_window_center.static floatnscreen_window_width(long struct)Unsafe version ofscreen_window_width().static voidnscreen_window_width(long struct, float value)Unsafe version ofscreen_window_width.static intntile_level_mode(long struct)Unsafe version oftile_level_mode().static voidntile_level_mode(long struct, int value)Unsafe version oftile_level_mode.static intntile_rounding_mode(long struct)Unsafe version oftile_rounding_mode().static voidntile_rounding_mode(long struct, int value)Unsafe version oftile_rounding_mode.static intntile_size_x(long struct)Unsafe version oftile_size_x().static voidntile_size_x(long struct, int value)Unsafe version oftile_size_x.static intntile_size_y(long struct)Unsafe version oftile_size_y().static voidntile_size_y(long struct, int value)Unsafe version oftile_size_y.static intntiled(long struct)Unsafe version oftiled().static voidntiled(long struct, int value)Unsafe version oftiled.intnum_channels()EXRHeadernum_channels(int value)Sets the specified value to thenum_channelsfield.intnum_custom_attributes()number ofEXRAttributein thecustom_attributesarrayEXRHeadernum_custom_attributes(int value)Sets the specified value to thenum_custom_attributes()field.floatpixel_aspect_ratio()EXRHeaderpixel_aspect_ratio(float value)Sets the specified value to thepixel_aspect_ratiofield.java.nio.IntBufferpixel_types()loaded pixel type (TINYEXR_PIXELTYPE_*) ofimagesfor each channel.EXRHeaderpixel_types(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepixel_types()field.java.nio.IntBufferrequested_pixel_types()filled initially byParseEXRHeaderFrom(Memory|File), then users can edit it (only valid for HALF pixel type channel)EXRHeaderrequested_pixel_types(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto therequested_pixel_types()field.java.nio.FloatBufferscreen_window_center()floatscreen_window_center(int index)EXRHeaderscreen_window_center(int index, float value)Sets the specified value at the specified index of thescreen_window_centerfield.EXRHeaderscreen_window_center(java.nio.FloatBuffer value)Copies the specifiedFloatBufferto thescreen_window_centerfield.floatscreen_window_width()EXRHeaderscreen_window_width(float value)Sets the specified value to thescreen_window_widthfield.EXRHeaderset(float pixel_aspect_ratio, int line_order, EXRBox2i data_window, EXRBox2i 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, java.nio.ByteBuffer name)Initializes this struct with the specified values.EXRHeaderset(EXRHeader src)Copies the specified struct data to this struct.intsizeof()inttile_level_mode()EXRHeadertile_level_mode(int value)Sets the specified value to thetile_level_modefield.inttile_rounding_mode()EXRHeadertile_rounding_mode(int value)Sets the specified value to thetile_rounding_modefield.inttile_size_x()EXRHeadertile_size_x(int value)Sets the specified value to thetile_size_xfield.inttile_size_y()EXRHeadertile_size_y(int value)Sets the specified value to thetile_size_yfield.booleantiled()EXRHeadertiled(boolean value)Sets the specified value to thetiledfield.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
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, NAME
The struct member offsets.
-
-
Constructor Detail
-
EXRHeader
public EXRHeader(java.nio.ByteBuffer container)
Creates aEXRHeaderinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
pixel_aspect_ratio
public float pixel_aspect_ratio()
- Returns:
- the value of the
pixel_aspect_ratiofield.
-
line_order
public int line_order()
- Returns:
- the value of the
line_orderfield.
-
display_window
public EXRBox2i display_window()
- Returns:
- a
EXRBox2iview of thedisplay_windowfield.
-
screen_window_center
public java.nio.FloatBuffer screen_window_center()
- Returns:
- a
FloatBufferview of thescreen_window_centerfield.
-
screen_window_center
public float screen_window_center(int index)
- Returns:
- the value at the specified index of the
screen_window_centerfield.
-
screen_window_width
public float screen_window_width()
- Returns:
- the value of the
screen_window_widthfield.
-
chunk_count
public int chunk_count()
- Returns:
- the value of the
chunk_countfield.
-
tiled
public boolean tiled()
- Returns:
- the value of the
tiledfield.
-
tile_size_x
public int tile_size_x()
- Returns:
- the value of the
tile_size_xfield.
-
tile_size_y
public int tile_size_y()
- Returns:
- the value of the
tile_size_yfield.
-
tile_level_mode
public int tile_level_mode()
- Returns:
- the value of the
tile_level_modefield.
-
tile_rounding_mode
public int tile_rounding_mode()
- Returns:
- the value of the
tile_rounding_modefield.
-
long_name
public boolean long_name()
- Returns:
- the value of the
long_namefield.
-
non_image
public boolean non_image()
For a single-part file, agree with the version field bit 11. For a multi-part file, it is consistent with the type of part.
-
multipart
public boolean multipart()
- Returns:
- the value of the
multipartfield.
-
header_len
public int header_len()
- Returns:
- the value of the
header_lenfield.
-
num_custom_attributes
public int num_custom_attributes()
number ofEXRAttributein thecustom_attributesarray
-
custom_attributes
@Nullable public EXRAttribute.Buffer custom_attributes()
custom attributes (excludes required attributes, e.g. `channels`, `compression`, etc)
-
channels
public EXRChannelInfo.Buffer channels()
- Returns:
- a
EXRChannelInfo.Bufferview of the struct array pointed to by thechannelsfield.
-
pixel_types
public java.nio.IntBuffer pixel_types()
loaded pixel type (TINYEXR_PIXELTYPE_*) ofimagesfor each channel. This is overwritten withrequested_pixel_typeswhen loading.
-
num_channels
public int num_channels()
- Returns:
- the value of the
num_channelsfield.
-
compression_type
public int compression_type()
compression type (TINYEXR_COMPRESSIONTYPE_*)
-
requested_pixel_types
public java.nio.IntBuffer requested_pixel_types()
filled initially byParseEXRHeaderFrom(Memory|File), then users can edit it (only valid for HALF pixel type channel)
-
name, nameString
public java.nio.ByteBuffer name() public java.lang.String nameString()
Name attribute required for multipart files.Must be unique and non empty (according to spec.). Use
TinyEXR.EXRSetNameAttr(org.lwjgl.util.tinyexr.EXRHeader, java.nio.ByteBuffer)for setting value. Max 255 characters allowed - excluding terminating zero.
-
pixel_aspect_ratio
public EXRHeader pixel_aspect_ratio(float value)
Sets the specified value to thepixel_aspect_ratiofield.
-
line_order
public EXRHeader line_order(int value)
Sets the specified value to theline_orderfield.
-
data_window
public EXRHeader data_window(EXRBox2i value)
Copies the specifiedEXRBox2ito thedata_windowfield.
-
data_window
public EXRHeader data_window(java.util.function.Consumer<EXRBox2i> consumer)
Passes thedata_windowfield to the specifiedConsumer.
-
display_window
public EXRHeader display_window(EXRBox2i value)
Copies the specifiedEXRBox2ito thedisplay_windowfield.
-
display_window
public EXRHeader display_window(java.util.function.Consumer<EXRBox2i> consumer)
Passes thedisplay_windowfield to the specifiedConsumer.
-
screen_window_center
public EXRHeader screen_window_center(java.nio.FloatBuffer value)
Copies the specifiedFloatBufferto thescreen_window_centerfield.
-
screen_window_center
public EXRHeader screen_window_center(int index, float value)
Sets the specified value at the specified index of thescreen_window_centerfield.
-
screen_window_width
public EXRHeader screen_window_width(float value)
Sets the specified value to thescreen_window_widthfield.
-
chunk_count
public EXRHeader chunk_count(int value)
Sets the specified value to thechunk_countfield.
-
tiled
public EXRHeader tiled(boolean value)
Sets the specified value to thetiledfield.
-
tile_size_x
public EXRHeader tile_size_x(int value)
Sets the specified value to thetile_size_xfield.
-
tile_size_y
public EXRHeader tile_size_y(int value)
Sets the specified value to thetile_size_yfield.
-
tile_level_mode
public EXRHeader tile_level_mode(int value)
Sets the specified value to thetile_level_modefield.
-
tile_rounding_mode
public EXRHeader tile_rounding_mode(int value)
Sets the specified value to thetile_rounding_modefield.
-
long_name
public EXRHeader long_name(boolean value)
Sets the specified value to thelong_namefield.
-
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 themultipartfield.
-
header_len
public EXRHeader header_len(int value)
Sets the specified value to theheader_lenfield.
-
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.Bufferto thecustom_attributes()field.
-
channels
public EXRHeader channels(EXRChannelInfo.Buffer value)
Sets the address of the specifiedEXRChannelInfo.Bufferto thechannelsfield.
-
pixel_types
public EXRHeader pixel_types(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepixel_types()field.
-
num_channels
public EXRHeader num_channels(int value)
Sets the specified value to thenum_channelsfield.
-
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 specifiedIntBufferto therequested_pixel_types()field.
-
name
public EXRHeader name(java.nio.ByteBuffer value)
Copies the specified encoded string to thename()field.
-
set
public EXRHeader set(float pixel_aspect_ratio, int line_order, EXRBox2i data_window, EXRBox2i 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, java.nio.ByteBuffer name)
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 newEXRHeaderinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static EXRHeader calloc()
Returns a newEXRHeaderinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static EXRHeader create()
Returns a newEXRHeaderinstance allocated withBufferUtils.
-
create
public static EXRHeader create(long address)
Returns a newEXRHeaderinstance for the specified memory address.
-
createSafe
@Nullable public static EXRHeader createSafe(long address)
-
malloc
public static EXRHeader.Buffer malloc(int capacity)
Returns a newEXRHeader.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static EXRHeader.Buffer calloc(int capacity)
Returns a newEXRHeader.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static EXRHeader.Buffer create(int capacity)
Returns a newEXRHeader.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static EXRHeader.Buffer create(long address, int capacity)
Create aEXRHeader.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static EXRHeader.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static EXRHeader mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static EXRHeader callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static EXRHeader mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static EXRHeader callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static EXRHeader.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static EXRHeader.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static EXRHeader.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static EXRHeader.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static EXRHeader malloc(org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeaderinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static EXRHeader calloc(org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeaderinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static EXRHeader.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static EXRHeader.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newEXRHeader.Bufferinstance allocated on the specifiedMemoryStackand 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 EXRBox2i ndata_window(long struct)
Unsafe version ofdata_window().
-
ndisplay_window
public static EXRBox2i ndisplay_window(long struct)
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.
-
nname
public static java.nio.ByteBuffer nname(long struct)
Unsafe version ofname().
-
nnameString
public static java.lang.String nnameString(long struct)
Unsafe version ofnameString().
-
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, EXRBox2i value)Unsafe version ofdata_window.
-
ndisplay_window
public static void ndisplay_window(long struct, EXRBox2i 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_attributesfield 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_channelsfield 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.
-
nname
public static void nname(long struct, java.nio.ByteBuffer value)Unsafe version ofname.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-