Package org.lwjgl.system.jawt
Class JAWTX11DrawingSurfaceInfo
- All Implemented Interfaces:
Pointer
struct JAWT_X11DrawingSurfaceInfo {
Drawable drawable;
Display * display;
VisualID visualID;
Colormap colormapID;
int depth;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionJAWTX11DrawingSurfaceInfo(ByteBuffer container) Creates aJAWTX11DrawingSurfaceInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionlongstatic JAWTX11DrawingSurfaceInfocreate(long address) Returns a newJAWTX11DrawingSurfaceInfoinstance for the specified memory address.create(long address, int capacity) Create aJAWTX11DrawingSurfaceInfo.Bufferinstance at the specified memory.static @Nullable JAWTX11DrawingSurfaceInfocreateSafe(long address) static @Nullable JAWTX11DrawingSurfaceInfo.BuffercreateSafe(long address, int capacity) intdepth()longdisplay()longdrawable()static longncolormapID(long struct) Unsafe version ofcolormapID().static intndepth(long struct) Unsafe version ofdepth().static longndisplay(long struct) Unsafe version ofdisplay().static longndrawable(long struct) Unsafe version ofdrawable().static longnvisualID(long struct) Unsafe version ofvisualID().intsizeof()Returnssizeof(struct).longvisualID()Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
DRAWABLE
public static final int DRAWABLEThe struct member offsets. -
DISPLAY
public static final int DISPLAYThe struct member offsets. -
VISUALID
public static final int VISUALIDThe struct member offsets. -
COLORMAPID
public static final int COLORMAPIDThe struct member offsets. -
DEPTH
public static final int DEPTHThe struct member offsets.
-
-
Constructor Details
-
JAWTX11DrawingSurfaceInfo
Creates aJAWTX11DrawingSurfaceInfoinstance at the current position of the specifiedByteBuffercontainer. 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<JAWTX11DrawingSurfaceInfo>
-
drawable
public long drawable()- Returns:
- the value of the
drawablefield.
-
display
public long display()- Returns:
- the value of the
displayfield.
-
visualID
public long visualID()- Returns:
- the value of the
visualIDfield.
-
colormapID
public long colormapID()- Returns:
- the value of the
colormapIDfield.
-
depth
public int depth()- Returns:
- the value of the
depthfield.
-
create
Returns a newJAWTX11DrawingSurfaceInfoinstance for the specified memory address. -
createSafe
-
create
Create aJAWTX11DrawingSurfaceInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
ndrawable
public static long ndrawable(long struct) Unsafe version ofdrawable(). -
ndisplay
public static long ndisplay(long struct) Unsafe version ofdisplay(). -
nvisualID
public static long nvisualID(long struct) Unsafe version ofvisualID(). -
ncolormapID
public static long ncolormapID(long struct) Unsafe version ofcolormapID(). -
ndepth
public static int ndepth(long struct) Unsafe version ofdepth().
-