Package org.lwjgl.util.tinyexr
Class EXRVersion.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<EXRVersion,EXRVersion.Buffer>
-
- org.lwjgl.util.tinyexr.EXRVersion.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<EXRVersion>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- EXRVersion
public static class EXRVersion.Buffer extends org.lwjgl.system.StructBuffer<EXRVersion,EXRVersion.Buffer> implements org.lwjgl.system.NativeResource
An array ofEXRVersionstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanlong_name()EXRVersion.Bufferlong_name(boolean value)Sets the specified value to theEXRVersion.long_name()field.booleanmultipart()EXRVersion.Buffermultipart(boolean value)Sets the specified value to theEXRVersion.multipart()field.booleannon_image()EXRVersion.Buffernon_image(boolean value)Sets the specified value to theEXRVersion.non_image()field.booleantiled()EXRVersion.Buffertiled(boolean value)Sets the specified value to theEXRVersion.tiled()field.intversion()EXRVersion.Bufferversion(int value)Sets the specified value to theEXRVersion.version()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newEXRVersion.Bufferinstance 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 byEXRVersion.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
-
version
public int version()
- Returns:
- the value of the
EXRVersion.version()field.
-
tiled
public boolean tiled()
- Returns:
- the value of the
EXRVersion.tiled()field.
-
long_name
public boolean long_name()
- Returns:
- the value of the
EXRVersion.long_name()field.
-
non_image
public boolean non_image()
- Returns:
- the value of the
EXRVersion.non_image()field.
-
multipart
public boolean multipart()
- Returns:
- the value of the
EXRVersion.multipart()field.
-
version
public EXRVersion.Buffer version(int value)
Sets the specified value to theEXRVersion.version()field.
-
tiled
public EXRVersion.Buffer tiled(boolean value)
Sets the specified value to theEXRVersion.tiled()field.
-
long_name
public EXRVersion.Buffer long_name(boolean value)
Sets the specified value to theEXRVersion.long_name()field.
-
non_image
public EXRVersion.Buffer non_image(boolean value)
Sets the specified value to theEXRVersion.non_image()field.
-
multipart
public EXRVersion.Buffer multipart(boolean value)
Sets the specified value to theEXRVersion.multipart()field.
-
-