public static class DeepImage.Buffer extends org.lwjgl.system.StructBuffer<DeepImage,DeepImage.Buffer> implements org.lwjgl.system.NativeResource
DeepImage structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
DeepImage.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
org.lwjgl.PointerBuffer |
channel_names()
Returns a
PointerBuffer view of the data pointed to by the channel_names field. |
DeepImage.Buffer |
channel_names(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the channel_names field. |
int |
height()
Returns the value of the
height field. |
DeepImage.Buffer |
height(int value)
Sets the specified value to the
height field. |
org.lwjgl.PointerBuffer |
image()
Returns a
PointerBuffer view of the data pointed to by the image field. |
DeepImage.Buffer |
image(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the image field. |
int |
num_channels()
Returns the value of the
num_channels field. |
DeepImage.Buffer |
num_channels(int value)
Sets the specified value to the
num_channels field. |
org.lwjgl.PointerBuffer |
offset_table(int capacity)
Returns a
PointerBuffer view of the data pointed to by the offset_table field. |
DeepImage.Buffer |
offset_table(org.lwjgl.PointerBuffer value)
Sets the address of the specified
PointerBuffer to the offset_table field. |
int |
width()
Returns the value of the
width field. |
DeepImage.Buffer |
width(int value)
Sets the specified value to the
width field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
DeepImage.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
by DeepImage.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public org.lwjgl.PointerBuffer channel_names()
PointerBuffer view of the data pointed to by the channel_names field.public org.lwjgl.PointerBuffer image()
PointerBuffer view of the data pointed to by the image field.public org.lwjgl.PointerBuffer offset_table(int capacity)
PointerBuffer view of the data pointed to by the offset_table field.capacity - the number of elements in the returned bufferpublic int num_channels()
num_channels field.public int width()
width field.public int height()
height field.public DeepImage.Buffer channel_names(org.lwjgl.PointerBuffer value)
PointerBuffer to the channel_names field.public DeepImage.Buffer image(org.lwjgl.PointerBuffer value)
PointerBuffer to the image field.public DeepImage.Buffer offset_table(org.lwjgl.PointerBuffer value)
PointerBuffer to the offset_table field.public DeepImage.Buffer num_channels(int value)
num_channels field.public DeepImage.Buffer width(int value)
width field.public DeepImage.Buffer height(int value)
height field.Copyright LWJGL. All Rights Reserved. License terms.