public class JAWTX11DrawingSurfaceInfo
extends org.lwjgl.system.Struct
drawable – the drawabledisplay – the connection to the X servervisualID – the VisualIDcolormapID – the colormapdepth – the depth
struct JAWT_X11DrawingSurfaceInfo {
Drawable drawable;
Display * display;
VisualID visualID;
Colormap colormapID;
int depth;
}| Modifier and Type | Class and Description |
|---|---|
static class |
JAWTX11DrawingSurfaceInfo.Buffer
An array of
JAWTX11DrawingSurfaceInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COLORMAPID
The struct member offsets.
|
static int |
DEPTH
The struct member offsets.
|
static int |
DISPLAY
The struct member offsets.
|
static int |
DRAWABLE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
VISUALID
The struct member offsets.
|
| Constructor and Description |
|---|
JAWTX11DrawingSurfaceInfo(java.nio.ByteBuffer container)
Creates a
JAWTX11DrawingSurfaceInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
long |
colormapID()
Returns the value of the
colormapID field. |
static JAWTX11DrawingSurfaceInfo |
create(long address)
Returns a new
JAWTX11DrawingSurfaceInfo instance for the specified memory address. |
static JAWTX11DrawingSurfaceInfo.Buffer |
create(long address,
int capacity)
Create a
JAWTX11DrawingSurfaceInfo.Buffer instance at the specified memory. |
static JAWTX11DrawingSurfaceInfo |
createSafe(long address)
|
static JAWTX11DrawingSurfaceInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
depth()
Returns the value of the
depth field. |
long |
display()
Returns the value of the
display field. |
long |
drawable()
Returns the value of the
drawable field. |
static long |
ncolormapID(long struct)
Unsafe version of
colormapID(). |
static int |
ndepth(long struct)
Unsafe version of
depth(). |
static long |
ndisplay(long struct)
Unsafe version of
display(). |
static long |
ndrawable(long struct)
Unsafe version of
drawable(). |
static long |
nvisualID(long struct)
Unsafe version of
visualID(). |
int |
sizeof() |
long |
visualID()
Returns the value of the
visualID field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int DRAWABLE
public static final int DISPLAY
public static final int VISUALID
public static final int COLORMAPID
public static final int DEPTH
public JAWTX11DrawingSurfaceInfo(java.nio.ByteBuffer container)
JAWTX11DrawingSurfaceInfo 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic long drawable()
drawable field.public long display()
display field.public long visualID()
visualID field.public long colormapID()
colormapID field.public int depth()
depth field.public static JAWTX11DrawingSurfaceInfo create(long address)
JAWTX11DrawingSurfaceInfo instance for the specified memory address.@Nullable public static JAWTX11DrawingSurfaceInfo createSafe(long address)
public static JAWTX11DrawingSurfaceInfo.Buffer create(long address, int capacity)
JAWTX11DrawingSurfaceInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static JAWTX11DrawingSurfaceInfo.Buffer createSafe(long address, int capacity)
public static long ndrawable(long struct)
drawable().public static long ndisplay(long struct)
display().public static long nvisualID(long struct)
visualID().public static long ncolormapID(long struct)
colormapID().public static int ndepth(long struct)
depth().Copyright LWJGL. All Rights Reserved. License terms.