public static class Visual.Buffer extends org.lwjgl.system.StructBuffer<Visual,Visual.Buffer> implements org.lwjgl.system.NativeResource
Visual structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
Visual.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
bits_per_rgb()
Returns the value of the
bits_per_rgb field. |
Visual.Buffer |
bits_per_rgb(int value)
Sets the specified value to the
bits_per_rgb field. |
long |
blue_mask()
Returns the value of the
blue_mask field. |
Visual.Buffer |
blue_mask(long value)
Sets the specified value to the
blue_mask field. |
int |
class$()
Returns the value of the
class field. |
Visual.Buffer |
class$(int value)
Sets the specified value to the
class field. |
long |
ext_data()
Returns the value of the
ext_data field. |
Visual.Buffer |
ext_data(long value)
Sets the specified value to the
ext_data field. |
long |
green_mask()
Returns the value of the
green_mask field. |
Visual.Buffer |
green_mask(long value)
Sets the specified value to the
green_mask field. |
int |
map_entries()
Returns the value of the
map_entries field. |
Visual.Buffer |
map_entries(int value)
Sets the specified value to the
map_entries field. |
long |
red_mask()
Returns the value of the
red_mask field. |
Visual.Buffer |
red_mask(long value)
Sets the specified value to the
red_mask field. |
long |
visualid()
Returns the value of the
visualid field. |
Visual.Buffer |
visualid(long value)
Sets the specified value to the
visualid field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
Visual.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 Visual.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 long ext_data()
ext_data field.public long visualid()
visualid field.public int class$()
class field.public long red_mask()
red_mask field.public long green_mask()
green_mask field.public long blue_mask()
blue_mask field.public int bits_per_rgb()
bits_per_rgb field.public int map_entries()
map_entries field.public Visual.Buffer ext_data(long value)
ext_data field.public Visual.Buffer visualid(long value)
visualid field.public Visual.Buffer class$(int value)
class field.public Visual.Buffer red_mask(long value)
red_mask field.public Visual.Buffer green_mask(long value)
green_mask field.public Visual.Buffer blue_mask(long value)
blue_mask field.public Visual.Buffer bits_per_rgb(int value)
bits_per_rgb field.public Visual.Buffer map_entries(int value)
map_entries field.Copyright LWJGL. All Rights Reserved. License terms.