public static class XVisualInfo.Buffer extends org.lwjgl.system.StructBuffer<XVisualInfo,XVisualInfo.Buffer> implements org.lwjgl.system.NativeResource
XVisualInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
XVisualInfo.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. |
XVisualInfo.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. |
XVisualInfo.Buffer |
blue_mask(long value)
Sets the specified value to the
blue_mask field. |
int |
class$()
Returns the value of the
class field. |
XVisualInfo.Buffer |
class$(int value)
Sets the specified value to the
class field. |
int |
colormap_size()
Returns the value of the
colormap_size field. |
XVisualInfo.Buffer |
colormap_size(int value)
Sets the specified value to the
colormap_size field. |
int |
depth()
Returns the value of the
depth field. |
XVisualInfo.Buffer |
depth(int value)
Sets the specified value to the
depth field. |
long |
green_mask()
Returns the value of the
green_mask field. |
XVisualInfo.Buffer |
green_mask(long value)
Sets the specified value to the
green_mask field. |
long |
red_mask()
Returns the value of the
red_mask field. |
XVisualInfo.Buffer |
red_mask(long value)
Sets the specified value to the
red_mask field. |
int |
screen()
Returns the value of the
screen field. |
XVisualInfo.Buffer |
screen(int value)
Sets the specified value to the
screen field. |
Visual |
visual()
Returns a
Visual view of the struct pointed to by the visual field. |
XVisualInfo.Buffer |
visual(Visual value)
Sets the address of the specified
Visual to the visual field. |
long |
visualid()
Returns the value of the
visualid field. |
XVisualInfo.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)
XVisualInfo.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 XVisualInfo.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 visualid()
visualid field.public int screen()
screen field.public int depth()
depth 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 colormap_size()
colormap_size field.public int bits_per_rgb()
bits_per_rgb field.public XVisualInfo.Buffer visual(Visual value)
Visual to the visual field.public XVisualInfo.Buffer visualid(long value)
visualid field.public XVisualInfo.Buffer screen(int value)
screen field.public XVisualInfo.Buffer depth(int value)
depth field.public XVisualInfo.Buffer class$(int value)
class field.public XVisualInfo.Buffer red_mask(long value)
red_mask field.public XVisualInfo.Buffer green_mask(long value)
green_mask field.public XVisualInfo.Buffer blue_mask(long value)
blue_mask field.public XVisualInfo.Buffer colormap_size(int value)
colormap_size field.public XVisualInfo.Buffer bits_per_rgb(int value)
bits_per_rgb field.Copyright LWJGL. All Rights Reserved. License terms.