public class EXRVersion
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
version – this must be 2tiled – tile format imagelong_name – long name attributenon_image – deep image(EXR 2.0)multipart – multi-part(EXR 2.0)
struct EXRVersion {
int version;
int tiled;
int long_name;
int non_image;
int multipart;
}| Modifier and Type | Class and Description |
|---|---|
static class |
EXRVersion.Buffer
An array of
EXRVersion structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
LONG_NAME
The struct member offsets.
|
static int |
MULTIPART
The struct member offsets.
|
static int |
NON_IMAGE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TILED
The struct member offsets.
|
static int |
VERSION
The struct member offsets.
|
| Constructor and Description |
|---|
EXRVersion(java.nio.ByteBuffer container)
Creates a
EXRVersion instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static EXRVersion |
calloc()
Returns a new
EXRVersion instance allocated with memCalloc. |
static EXRVersion.Buffer |
calloc(int capacity)
Returns a new
EXRVersion.Buffer instance allocated with memCalloc. |
static EXRVersion |
callocStack()
Returns a new
EXRVersion instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static EXRVersion.Buffer |
callocStack(int capacity)
Returns a new
EXRVersion.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static EXRVersion.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
EXRVersion.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static EXRVersion |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
EXRVersion instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static EXRVersion |
create()
Returns a new
EXRVersion instance allocated with BufferUtils. |
static EXRVersion.Buffer |
create(int capacity)
Returns a new
EXRVersion.Buffer instance allocated with BufferUtils. |
static EXRVersion |
create(long address)
Returns a new
EXRVersion instance for the specified memory address. |
static EXRVersion.Buffer |
create(long address,
int capacity)
Create a
EXRVersion.Buffer instance at the specified memory. |
static EXRVersion |
createSafe(long address)
|
static EXRVersion.Buffer |
createSafe(long address,
int capacity)
|
boolean |
long_name()
Returns the value of the
long_name field. |
EXRVersion |
long_name(boolean value)
Sets the specified value to the
long_name field. |
static EXRVersion |
malloc()
Returns a new
EXRVersion instance allocated with memAlloc. |
static EXRVersion.Buffer |
malloc(int capacity)
Returns a new
EXRVersion.Buffer instance allocated with memAlloc. |
static EXRVersion |
mallocStack()
Returns a new
EXRVersion instance allocated on the thread-local MemoryStack. |
static EXRVersion.Buffer |
mallocStack(int capacity)
Returns a new
EXRVersion.Buffer instance allocated on the thread-local MemoryStack. |
static EXRVersion.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
EXRVersion.Buffer instance allocated on the specified MemoryStack. |
static EXRVersion |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
EXRVersion instance allocated on the specified MemoryStack. |
boolean |
multipart()
Returns the value of the
multipart field. |
EXRVersion |
multipart(boolean value)
Sets the specified value to the
multipart field. |
static int |
nlong_name(long struct)
Unsafe version of
long_name(). |
static void |
nlong_name(long struct,
int value)
Unsafe version of
long_name. |
static int |
nmultipart(long struct)
Unsafe version of
multipart(). |
static void |
nmultipart(long struct,
int value)
Unsafe version of
multipart. |
static int |
nnon_image(long struct)
Unsafe version of
non_image(). |
static void |
nnon_image(long struct,
int value)
Unsafe version of
non_image. |
boolean |
non_image()
Returns the value of the
non_image field. |
EXRVersion |
non_image(boolean value)
Sets the specified value to the
non_image field. |
static int |
ntiled(long struct)
Unsafe version of
tiled(). |
static void |
ntiled(long struct,
int value)
Unsafe version of
tiled. |
static int |
nversion(long struct)
Unsafe version of
version(). |
static void |
nversion(long struct,
int value)
Unsafe version of
version. |
EXRVersion |
set(EXRVersion src)
Copies the specified struct data to this struct.
|
EXRVersion |
set(int version,
boolean tiled,
boolean long_name,
boolean non_image,
boolean multipart)
Initializes this struct with the specified values.
|
int |
sizeof() |
boolean |
tiled()
Returns the value of the
tiled field. |
EXRVersion |
tiled(boolean value)
Sets the specified value to the
tiled field. |
int |
version()
Returns the value of the
version field. |
EXRVersion |
version(int value)
Sets the specified value to the
version field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int VERSION
public static final int TILED
public static final int LONG_NAME
public static final int NON_IMAGE
public static final int MULTIPART
public EXRVersion(java.nio.ByteBuffer container)
EXRVersion instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int version()
version field.public boolean tiled()
tiled field.public boolean long_name()
long_name field.public boolean non_image()
non_image field.public boolean multipart()
multipart field.public EXRVersion version(int value)
version field.public EXRVersion tiled(boolean value)
tiled field.public EXRVersion long_name(boolean value)
long_name field.public EXRVersion non_image(boolean value)
non_image field.public EXRVersion multipart(boolean value)
multipart field.public EXRVersion set(int version, boolean tiled, boolean long_name, boolean non_image, boolean multipart)
public EXRVersion set(EXRVersion src)
src - the source structpublic static EXRVersion malloc()
EXRVersion instance allocated with memAlloc. The instance must be explicitly freed.public static EXRVersion calloc()
EXRVersion instance allocated with memCalloc. The instance must be explicitly freed.public static EXRVersion create()
EXRVersion instance allocated with BufferUtils.public static EXRVersion create(long address)
EXRVersion instance for the specified memory address.@Nullable public static EXRVersion createSafe(long address)
public static EXRVersion.Buffer malloc(int capacity)
EXRVersion.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static EXRVersion.Buffer calloc(int capacity)
EXRVersion.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static EXRVersion.Buffer create(int capacity)
EXRVersion.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static EXRVersion.Buffer create(long address, int capacity)
EXRVersion.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static EXRVersion.Buffer createSafe(long address, int capacity)
public static EXRVersion mallocStack()
EXRVersion instance allocated on the thread-local MemoryStack.public static EXRVersion callocStack()
EXRVersion instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static EXRVersion mallocStack(org.lwjgl.system.MemoryStack stack)
EXRVersion instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static EXRVersion callocStack(org.lwjgl.system.MemoryStack stack)
EXRVersion instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static EXRVersion.Buffer mallocStack(int capacity)
EXRVersion.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static EXRVersion.Buffer callocStack(int capacity)
EXRVersion.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static EXRVersion.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
EXRVersion.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static EXRVersion.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
EXRVersion.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nversion(long struct)
version().public static int ntiled(long struct)
tiled().public static int nlong_name(long struct)
long_name().public static int nnon_image(long struct)
non_image().public static int nmultipart(long struct)
multipart().public static void nversion(long struct,
int value)
version.public static void ntiled(long struct,
int value)
tiled.public static void nlong_name(long struct,
int value)
long_name.public static void nnon_image(long struct,
int value)
non_image.public static void nmultipart(long struct,
int value)
multipart.Copyright LWJGL. All Rights Reserved. License terms.