Package org.lwjgl.util.tinyexr
Class EXRBox2i.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<EXRBox2i,EXRBox2i.Buffer>
-
- org.lwjgl.util.tinyexr.EXRBox2i.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<EXRBox2i>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- EXRBox2i
public static class EXRBox2i.Buffer extends org.lwjgl.system.StructBuffer<EXRBox2i,EXRBox2i.Buffer> implements org.lwjgl.system.NativeResource
An array ofEXRBox2istructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intmax_x()EXRBox2i.Buffermax_x(int value)Sets the specified value to themax_xfield.intmax_y()EXRBox2i.Buffermax_y(int value)Sets the specified value to themax_yfield.intmin_x()EXRBox2i.Buffermin_x(int value)Sets the specified value to themin_xfield.intmin_y()EXRBox2i.Buffermin_y(int value)Sets the specified value to themin_yfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newEXRBox2i.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 byEXRBox2i.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
-
min_x
public int min_x()
- Returns:
- the value of the
min_xfield.
-
min_y
public int min_y()
- Returns:
- the value of the
min_yfield.
-
max_x
public int max_x()
- Returns:
- the value of the
max_xfield.
-
max_y
public int max_y()
- Returns:
- the value of the
max_yfield.
-
min_x
public EXRBox2i.Buffer min_x(int value)
Sets the specified value to themin_xfield.
-
min_y
public EXRBox2i.Buffer min_y(int value)
Sets the specified value to themin_yfield.
-
max_x
public EXRBox2i.Buffer max_x(int value)
Sets the specified value to themax_xfield.
-
max_y
public EXRBox2i.Buffer max_y(int value)
Sets the specified value to themax_yfield.
-
-