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 ofEXRVersion
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
long_name()
Returns the value of thelong_name
field.EXRVersion.Buffer
long_name(boolean value)
Sets the specified value to thelong_name
field.boolean
multipart()
Returns the value of themultipart
field.EXRVersion.Buffer
multipart(boolean value)
Sets the specified value to themultipart
field.boolean
non_image()
Returns the value of thenon_image
field.EXRVersion.Buffer
non_image(boolean value)
Sets the specified value to thenon_image
field.boolean
tiled()
Returns the value of thetiled
field.EXRVersion.Buffer
tiled(boolean value)
Sets the specified value to thetiled
field.int
version()
Returns the value of theversion
field.EXRVersion.Buffer
version(int value)
Sets the specified value to theversion
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newEXRVersion.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 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 theversion
field.
-
tiled
public boolean tiled()
Returns the value of thetiled
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.
-
version
public EXRVersion.Buffer version(int value)
Sets the specified value to theversion
field.
-
tiled
public EXRVersion.Buffer tiled(boolean value)
Sets the specified value to thetiled
field.
-
long_name
public EXRVersion.Buffer long_name(boolean value)
Sets the specified value to thelong_name
field.
-
non_image
public EXRVersion.Buffer non_image(boolean value)
Sets the specified value to thenon_image
field.
-
multipart
public EXRVersion.Buffer multipart(boolean value)
Sets the specified value to themultipart
field.
-
-