Package org.lwjgl.util.tinyexr
Class EXRTile.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<EXRTile,EXRTile.Buffer>
-
- org.lwjgl.util.tinyexr.EXRTile.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<EXRTile>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- EXRTile
public static class EXRTile.Buffer extends org.lwjgl.system.StructBuffer<EXRTile,EXRTile.Buffer> implements org.lwjgl.system.NativeResource
An array ofEXRTile
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
height()
Returns the value of theheight
field.EXRTile.Buffer
height(int value)
Sets the specified value to theheight
field.org.lwjgl.PointerBuffer
images(int capacity)
Returns aPointerBuffer
view of the data pointed to by theimages
field.EXRTile.Buffer
images(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theimages
field.int
level_x()
Returns the value of thelevel_x
field.EXRTile.Buffer
level_x(int value)
Sets the specified value to thelevel_x
field.int
level_y()
Returns the value of thelevel_y
field.EXRTile.Buffer
level_y(int value)
Sets the specified value to thelevel_y
field.int
offset_x()
Returns the value of theoffset_x
field.EXRTile.Buffer
offset_x(int value)
Sets the specified value to theoffset_x
field.int
offset_y()
Returns the value of theoffset_y
field.EXRTile.Buffer
offset_y(int value)
Sets the specified value to theoffset_y
field.int
width()
Returns the value of thewidth
field.EXRTile.Buffer
width(int value)
Sets the specified value to thewidth
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newEXRTile.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 byEXRTile.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
-
offset_x
public int offset_x()
Returns the value of theoffset_x
field.
-
offset_y
public int offset_y()
Returns the value of theoffset_y
field.
-
level_x
public int level_x()
Returns the value of thelevel_x
field.
-
level_y
public int level_y()
Returns the value of thelevel_y
field.
-
width
public int width()
Returns the value of thewidth
field.
-
height
public int height()
Returns the value of theheight
field.
-
images
public org.lwjgl.PointerBuffer images(int capacity)
Returns aPointerBuffer
view of the data pointed to by theimages
field.- Parameters:
capacity
- the number of elements in the returned buffer
-
offset_x
public EXRTile.Buffer offset_x(int value)
Sets the specified value to theoffset_x
field.
-
offset_y
public EXRTile.Buffer offset_y(int value)
Sets the specified value to theoffset_y
field.
-
level_x
public EXRTile.Buffer level_x(int value)
Sets the specified value to thelevel_x
field.
-
level_y
public EXRTile.Buffer level_y(int value)
Sets the specified value to thelevel_y
field.
-
width
public EXRTile.Buffer width(int value)
Sets the specified value to thewidth
field.
-
height
public EXRTile.Buffer height(int value)
Sets the specified value to theheight
field.
-
images
public EXRTile.Buffer images(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to theimages
field.
-
-