Top Description Inners Fields Constructors Methods
org.lwjgl.system.linux

public Class XVisualInfo

extends Struct<XVisualInfo>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Information used by the visual utility routines to find desired visual type from the many visuals a display may support.

Layout


struct XVisualInfo {
    Visual * visual;
    VisualID visualid;
    int screen;
    int depth;
    int class;
    unsigned long red_mask;
    unsigned long green_mask;
    unsigned long blue_mask;
    int colormap_size;
    int bits_per_rgb;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
XVisualInfo.Buffer

An array of XVisualInfo structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BITS_PER_RGB

The struct member offsets.

public static final int
BLUE_MASK

The struct member offsets.

public static final int
CLASS

The struct member offsets.

public static final int
COLORMAP_SIZE

The struct member offsets.

public static final int
DEPTH

The struct member offsets.

public static final int
GREEN_MASK

The struct member offsets.

public static final int
RED_MASK

The struct member offsets.

public static final int
SCREEN

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
VISUAL

The struct member offsets.

public static final int
VISUALID

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
XVisualInfo(long address, ByteBuffer container)

public
XVisualInfo(ByteBuffer container)

Creates a XVisualInfo instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the bits_per_rgb field.
bits_per_rgb
()

public XVisualInfo
bits_per_rgb(int value)

Sets the specified value to the bits_per_rgb field.

public long

Returns:

the value of the blue_mask field.
blue_mask
()

public XVisualInfo
blue_mask(long value)

Sets the specified value to the blue_mask field.

public static XVisualInfo
calloc()

Returns a new XVisualInfo instance allocated with memCalloc.

public static XVisualInfo.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new XVisualInfo.Buffer instance allocated with memCalloc.

public static XVisualInfo
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XVisualInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XVisualInfo.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XVisualInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XVisualInfo
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static XVisualInfo
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static XVisualInfo.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static XVisualInfo.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public int

Returns:

the value of the class field.
class$
()

public XVisualInfo
class$(int value)

Sets the specified value to the class field.

public int

Returns:

the value of the colormap_size field.
colormap_size
()

public XVisualInfo
colormap_size(int value)

Sets the specified value to the colormap_size field.

protected XVisualInfo
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static XVisualInfo
create()

Returns a new XVisualInfo instance allocated with BufferUtils.

public static XVisualInfo
create(long address)

Returns a new XVisualInfo instance for the specified memory address.

public static XVisualInfo.Buffer
create(int
the buffer capacity
capacity
)

Returns a new XVisualInfo.Buffer instance allocated with BufferUtils.

public static XVisualInfo.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a XVisualInfo.Buffer instance at the specified memory.

public static XVisualInfo
createSafe(long address)

Like create, but returns null if address is NULL.

public static XVisualInfo.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int

Returns:

the value of the depth field.
depth
()

public XVisualInfo
depth(int value)

Sets the specified value to the depth field.

public long

Returns:

the value of the green_mask field.
green_mask
()

public XVisualInfo
green_mask(long value)

Sets the specified value to the green_mask field.

public static XVisualInfo
malloc()

Returns a new XVisualInfo instance allocated with memAlloc.

public static XVisualInfo.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new XVisualInfo.Buffer instance allocated with memAlloc.

public static XVisualInfo
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XVisualInfo instance allocated on the specified MemoryStack.

public static XVisualInfo.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XVisualInfo.Buffer instance allocated on the specified MemoryStack.

public static XVisualInfo
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static XVisualInfo
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static XVisualInfo.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static XVisualInfo.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static int
nbits_per_rgb(long struct)

Unsafe version of bits_per_rgb.

public static void
nbits_per_rgb(long struct, int value)

Unsafe version of bits_per_rgb.

public static long
nblue_mask(long struct)

Unsafe version of blue_mask.

public static void
nblue_mask(long struct, long value)

Unsafe version of blue_mask.

public static int
nclass$(long struct)

Unsafe version of class$.

public static void
nclass$(long struct, int value)

Unsafe version of class$.

public static int
ncolormap_size(long struct)

Unsafe version of colormap_size.

public static void
ncolormap_size(long struct, int value)

Unsafe version of colormap_size.

public static int
ndepth(long struct)

Unsafe version of depth.

public static void
ndepth(long struct, int value)

Unsafe version of depth.

public static long
ngreen_mask(long struct)

Unsafe version of green_mask.

public static void
ngreen_mask(long struct, long value)

Unsafe version of green_mask.

public static long
nred_mask(long struct)

Unsafe version of red_mask.

public static void
nred_mask(long struct, long value)

Unsafe version of red_mask.

public static int
nscreen(long struct)

Unsafe version of screen.

public static void
nscreen(long struct, int value)

Unsafe version of screen.

public static Visual
nvisual(long struct)

Unsafe version of visual.

public static void
nvisual(long struct, Visual value)

Unsafe version of visual.

public static long
nvisualid(long struct)

Unsafe version of visualid.

public static void
nvisualid(long struct, long value)

Unsafe version of visualid.

public long

Returns:

the value of the red_mask field.
red_mask
()

public XVisualInfo
red_mask(long value)

Sets the specified value to the red_mask field.

public int

Returns:

the value of the screen field.
screen
()

public XVisualInfo
screen(int value)

Sets the specified value to the screen field.

public XVisualInfo
set(Visual visual, long visualid, int screen, int depth, int class$, long red_mask, long green_mask, long blue_mask, int colormap_size, int bits_per_rgb)

Initializes this struct with the specified values.

public XVisualInfo

Returns:

this struct
set
(XVisualInfo
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public Visual

Returns:

a Visual view of the struct pointed to by the visual field.
visual
()

public XVisualInfo
visual(Visual value)

Sets the address of the specified Visual to the visual field.

public long

Returns:

the value of the visualid field.
visualid
()

public XVisualInfo
visualid(long value)

Sets the specified value to the visualid field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BITS_PER_RGBback to summary
public static final int BITS_PER_RGB

The struct member offsets.

BLUE_MASKback to summary
public static final int BLUE_MASK

The struct member offsets.

CLASSback to summary
public static final int CLASS

The struct member offsets.

COLORMAP_SIZEback to summary
public static final int COLORMAP_SIZE

The struct member offsets.

DEPTHback to summary
public static final int DEPTH

The struct member offsets.

GREEN_MASKback to summary
public static final int GREEN_MASK

The struct member offsets.

RED_MASKback to summary
public static final int RED_MASK

The struct member offsets.

SCREENback to summary
public static final int SCREEN

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

VISUALback to summary
public static final int VISUAL

The struct member offsets.

VISUALIDback to summary
public static final int VISUALID

The struct member offsets.

Constructor Detail

XVisualInfoback to summary
protected XVisualInfo(long address, ByteBuffer container)
XVisualInfoback to summary
public XVisualInfo(ByteBuffer container)

Creates a XVisualInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

bits_per_rgbback to summary
public int bits_per_rgb()
Returns:int

the value of the bits_per_rgb field.

bits_per_rgbback to summary
public XVisualInfo bits_per_rgb(int value)

Sets the specified value to the bits_per_rgb field.

blue_maskback to summary
public long blue_mask()
Returns:long

the value of the blue_mask field.

Annotations
@NativeType:unsigned long
blue_maskback to summary
public XVisualInfo blue_mask(long value)

Sets the specified value to the blue_mask field.

callocback to summary
public static XVisualInfo calloc()

Returns a new XVisualInfo instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static XVisualInfo.Buffer calloc(int capacity)

Returns a new XVisualInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XVisualInfo calloc(MemoryStack stack)

Returns a new XVisualInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static XVisualInfo.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XVisualInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static XVisualInfo callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static XVisualInfo callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static XVisualInfo.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static XVisualInfo.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
class$back to summary
public int class$()
Returns:int

the value of the class field.

class$back to summary
public XVisualInfo class$(int value)

Sets the specified value to the class field.

colormap_sizeback to summary
public int colormap_size()
Returns:int

the value of the colormap_size field.

colormap_sizeback to summary
public XVisualInfo colormap_size(int value)

Sets the specified value to the colormap_size field.

createback to summary
protected XVisualInfo create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static XVisualInfo create()

Returns a new XVisualInfo instance allocated with BufferUtils.

createback to summary
public static XVisualInfo create(long address)

Returns a new XVisualInfo instance for the specified memory address.

createback to summary
public static XVisualInfo.Buffer create(int capacity)

Returns a new XVisualInfo.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static XVisualInfo.Buffer create(long address, int capacity)

Create a XVisualInfo.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static XVisualInfo createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static XVisualInfo.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
depthback to summary
public int depth()
Returns:int

the value of the depth field.

depthback to summary
public XVisualInfo depth(int value)

Sets the specified value to the depth field.

green_maskback to summary
public long green_mask()
Returns:long

the value of the green_mask field.

Annotations
@NativeType:unsigned long
green_maskback to summary
public XVisualInfo green_mask(long value)

Sets the specified value to the green_mask field.

mallocback to summary
public static XVisualInfo malloc()

Returns a new XVisualInfo instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static XVisualInfo.Buffer malloc(int capacity)

Returns a new XVisualInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XVisualInfo malloc(MemoryStack stack)

Returns a new XVisualInfo instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static XVisualInfo.Buffer malloc(int capacity, MemoryStack stack)

Returns a new XVisualInfo.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static XVisualInfo mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static XVisualInfo mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static XVisualInfo.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static XVisualInfo.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
nbits_per_rgbback to summary
public static int nbits_per_rgb(long struct)

Unsafe version of bits_per_rgb.

nbits_per_rgbback to summary
public static void nbits_per_rgb(long struct, int value)

Unsafe version of bits_per_rgb.

nblue_maskback to summary
public static long nblue_mask(long struct)

Unsafe version of blue_mask.

nblue_maskback to summary
public static void nblue_mask(long struct, long value)

Unsafe version of blue_mask.

nclass$back to summary
public static int nclass$(long struct)

Unsafe version of class$.

nclass$back to summary
public static void nclass$(long struct, int value)

Unsafe version of class$.

ncolormap_sizeback to summary
public static int ncolormap_size(long struct)

Unsafe version of colormap_size.

ncolormap_sizeback to summary
public static void ncolormap_size(long struct, int value)

Unsafe version of colormap_size.

ndepthback to summary
public static int ndepth(long struct)

Unsafe version of depth.

ndepthback to summary
public static void ndepth(long struct, int value)

Unsafe version of depth.

ngreen_maskback to summary
public static long ngreen_mask(long struct)

Unsafe version of green_mask.

ngreen_maskback to summary
public static void ngreen_mask(long struct, long value)

Unsafe version of green_mask.

nred_maskback to summary
public static long nred_mask(long struct)

Unsafe version of red_mask.

nred_maskback to summary
public static void nred_mask(long struct, long value)

Unsafe version of red_mask.

nscreenback to summary
public static int nscreen(long struct)

Unsafe version of screen.

nscreenback to summary
public static void nscreen(long struct, int value)

Unsafe version of screen.

nvisualback to summary
public static Visual nvisual(long struct)

Unsafe version of visual.

nvisualback to summary
public static void nvisual(long struct, Visual value)

Unsafe version of visual.

nvisualidback to summary
public static long nvisualid(long struct)

Unsafe version of visualid.

nvisualidback to summary
public static void nvisualid(long struct, long value)

Unsafe version of visualid.

red_maskback to summary
public long red_mask()
Returns:long

the value of the red_mask field.

Annotations
@NativeType:unsigned long
red_maskback to summary
public XVisualInfo red_mask(long value)

Sets the specified value to the red_mask field.

screenback to summary
public int screen()
Returns:int

the value of the screen field.

screenback to summary
public XVisualInfo screen(int value)

Sets the specified value to the screen field.

setback to summary
public XVisualInfo set(Visual visual, long visualid, int screen, int depth, int class$, long red_mask, long green_mask, long blue_mask, int colormap_size, int bits_per_rgb)

Initializes this struct with the specified values.

setback to summary
public XVisualInfo set(XVisualInfo src)

Copies the specified struct data to this struct.

Parameters
src:XVisualInfo

the source struct

Returns:XVisualInfo

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

visualback to summary
public Visual visual()
Returns:Visual

a Visual view of the struct pointed to by the visual field.

Annotations
@NativeType:Visual *
visualback to summary
public XVisualInfo visual(Visual value)

Sets the address of the specified Visual to the visual field.

visualidback to summary
public long visualid()
Returns:long

the value of the visualid field.

Annotations
@NativeType:VisualID
visualidback to summary
public XVisualInfo visualid(long value)

Sets the specified value to the visualid field.

org.lwjgl.system.linux back to summary

public Class XVisualInfo.Buffer

extends StructBuffer<XVisualInfo, XVisualInfo.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of XVisualInfo structs.

Field Summary

Modifier and TypeField and Description
private static final XVisualInfo

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XVisualInfo.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the bits_per_rgb field.
bits_per_rgb
()

public XVisualInfo.Buffer
bits_per_rgb(int value)

Sets the specified value to the bits_per_rgb field.

public long

Returns:

the value of the blue_mask field.
blue_mask
()

public XVisualInfo.Buffer
blue_mask(long value)

Sets the specified value to the blue_mask field.

public int

Returns:

the value of the class field.
class$
()

public XVisualInfo.Buffer
class$(int value)

Sets the specified value to the class field.

public int

Returns:

the value of the colormap_size field.
colormap_size
()

public XVisualInfo.Buffer
colormap_size(int value)

Sets the specified value to the colormap_size field.

public int

Returns:

the value of the depth field.
depth
()

public XVisualInfo.Buffer
depth(int value)

Sets the specified value to the depth field.

protected XVisualInfo
public long

Returns:

the value of the green_mask field.
green_mask
()

public XVisualInfo.Buffer
green_mask(long value)

Sets the specified value to the green_mask field.

public long

Returns:

the value of the red_mask field.
red_mask
()

public XVisualInfo.Buffer
red_mask(long value)

Sets the specified value to the red_mask field.

public int

Returns:

the value of the screen field.
screen
()

public XVisualInfo.Buffer
screen(int value)

Sets the specified value to the screen field.

protected XVisualInfo.Buffer
public Visual

Returns:

a Visual view of the struct pointed to by the visual field.
visual
()

public XVisualInfo.Buffer
visual(Visual value)

Sets the address of the specified Visual to the visual field.

public long

Returns:

the value of the visualid field.
visualid
()

public XVisualInfo.Buffer
visualid(long value)

Sets the specified value to the visualid field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XVisualInfo ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new 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.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

bits_per_rgbback to summary
public int bits_per_rgb()
Returns:int

the value of the bits_per_rgb field.

bits_per_rgbback to summary
public XVisualInfo.Buffer bits_per_rgb(int value)

Sets the specified value to the bits_per_rgb field.

blue_maskback to summary
public long blue_mask()
Returns:long

the value of the blue_mask field.

Annotations
@NativeType:unsigned long
blue_maskback to summary
public XVisualInfo.Buffer blue_mask(long value)

Sets the specified value to the blue_mask field.

class$back to summary
public int class$()
Returns:int

the value of the class field.

class$back to summary
public XVisualInfo.Buffer class$(int value)

Sets the specified value to the class field.

colormap_sizeback to summary
public int colormap_size()
Returns:int

the value of the colormap_size field.

colormap_sizeback to summary
public XVisualInfo.Buffer colormap_size(int value)

Sets the specified value to the colormap_size field.

depthback to summary
public int depth()
Returns:int

the value of the depth field.

depthback to summary
public XVisualInfo.Buffer depth(int value)

Sets the specified value to the depth field.

getElementFactoryback to summary
protected XVisualInfo getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
green_maskback to summary
public long green_mask()
Returns:long

the value of the green_mask field.

Annotations
@NativeType:unsigned long
green_maskback to summary
public XVisualInfo.Buffer green_mask(long value)

Sets the specified value to the green_mask field.

red_maskback to summary
public long red_mask()
Returns:long

the value of the red_mask field.

Annotations
@NativeType:unsigned long
red_maskback to summary
public XVisualInfo.Buffer red_mask(long value)

Sets the specified value to the red_mask field.

screenback to summary
public int screen()
Returns:int

the value of the screen field.

screenback to summary
public XVisualInfo.Buffer screen(int value)

Sets the specified value to the screen field.

selfback to summary
protected XVisualInfo.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
visualback to summary
public Visual visual()
Returns:Visual

a Visual view of the struct pointed to by the visual field.

Annotations
@NativeType:Visual *
visualback to summary
public XVisualInfo.Buffer visual(Visual value)

Sets the address of the specified Visual to the visual field.

visualidback to summary
public long visualid()
Returns:long

the value of the visualid field.

Annotations
@NativeType:VisualID
visualidback to summary
public XVisualInfo.Buffer visualid(long value)

Sets the specified value to the visualid field.