public class JAWT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
version – Version of this structure. This must always be set before calling JAWT_GetAWT()
struct JAWT {
jint version;
void * GetDrawingSurface;
void * FreeDrawingSurface;
void * Lock;
void * Unlock;
void * GetComponent;
void * CreateEmbeddedFrame;
void * SetBounds;
void * SynthesizeWindowActivation;
}| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CREATEEMBEDDEDFRAME
The struct member offsets.
|
static int |
FREEDRAWINGSURFACE
The struct member offsets.
|
static int |
GETCOMPONENT
The struct member offsets.
|
static int |
GETDRAWINGSURFACE
The struct member offsets.
|
static int |
LOCK
The struct member offsets.
|
static int |
SETBOUNDS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SYNTHESIZEWINDOWACTIVATION
The struct member offsets.
|
static int |
UNLOCK
The struct member offsets.
|
static int |
VERSION
The struct member offsets.
|
| Constructor and Description |
|---|
JAWT(java.nio.ByteBuffer container)
Creates a
JAWT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static JAWT |
calloc()
Returns a new
JAWT instance allocated with memCalloc. |
static JAWT |
callocStack()
Returns a new
JAWT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static JAWT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
JAWT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static JAWT |
create()
Returns a new
JAWT instance allocated with BufferUtils. |
static JAWT |
create(long address)
Returns a new
JAWT instance for the specified memory address. |
long |
CreateEmbeddedFrame()
Returns the value of the
CreateEmbeddedFrame field. |
static JAWT |
createSafe(long address)
|
long |
FreeDrawingSurface()
Returns the value of the
FreeDrawingSurface field. |
long |
GetComponent()
Returns the value of the
GetComponent field. |
long |
GetDrawingSurface()
Returns the value of the
GetDrawingSurface field. |
long |
Lock()
Returns the value of the
Lock field. |
static JAWT |
malloc()
Returns a new
JAWT instance allocated with memAlloc. |
static JAWT |
mallocStack()
Returns a new
JAWT instance allocated on the thread-local MemoryStack. |
static JAWT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
JAWT instance allocated on the specified MemoryStack. |
static long |
nCreateEmbeddedFrame(long struct)
Unsafe version of
CreateEmbeddedFrame(). |
static long |
nFreeDrawingSurface(long struct)
Unsafe version of
FreeDrawingSurface(). |
static long |
nGetComponent(long struct)
Unsafe version of
GetComponent(). |
static long |
nGetDrawingSurface(long struct)
Unsafe version of
GetDrawingSurface(). |
static long |
nLock(long struct)
Unsafe version of
Lock(). |
static long |
nSetBounds(long struct)
Unsafe version of
SetBounds(). |
static long |
nSynthesizeWindowActivation(long struct)
Unsafe version of
SynthesizeWindowActivation(). |
static long |
nUnlock(long struct)
Unsafe version of
Unlock(). |
static int |
nversion(long struct)
Unsafe version of
version(). |
static void |
nversion(long struct,
int value)
Unsafe version of
version. |
JAWT |
set(JAWT src)
Copies the specified struct data to this struct.
|
long |
SetBounds()
Returns the value of the
SetBounds field. |
int |
sizeof() |
long |
SynthesizeWindowActivation()
Returns the value of the
SynthesizeWindowActivation field. |
long |
Unlock()
Returns the value of the
Unlock field. |
int |
version()
Returns the value of the
version field. |
JAWT |
version(int value)
Sets the specified value to the
version field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int VERSION
public static final int GETDRAWINGSURFACE
public static final int FREEDRAWINGSURFACE
public static final int LOCK
public static final int UNLOCK
public static final int GETCOMPONENT
public static final int CREATEEMBEDDEDFRAME
public static final int SETBOUNDS
public static final int SYNTHESIZEWINDOWACTIVATION
public JAWT(java.nio.ByteBuffer container)
JAWT 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 int version()
version field.public long GetDrawingSurface()
GetDrawingSurface field.public long FreeDrawingSurface()
FreeDrawingSurface field.public long Lock()
Lock field.public long Unlock()
Unlock field.public long GetComponent()
GetComponent field.public long CreateEmbeddedFrame()
CreateEmbeddedFrame field.public long SetBounds()
SetBounds field.public long SynthesizeWindowActivation()
SynthesizeWindowActivation field.public JAWT version(int value)
version field.public JAWT set(JAWT src)
src - the source structpublic static JAWT malloc()
JAWT instance allocated with memAlloc. The instance must be explicitly freed.public static JAWT calloc()
JAWT instance allocated with memCalloc. The instance must be explicitly freed.public static JAWT create()
JAWT instance allocated with BufferUtils.public static JAWT create(long address)
JAWT instance for the specified memory address.@Nullable public static JAWT createSafe(long address)
public static JAWT mallocStack()
JAWT instance allocated on the thread-local MemoryStack.public static JAWT callocStack()
JAWT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static JAWT mallocStack(org.lwjgl.system.MemoryStack stack)
JAWT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static JAWT callocStack(org.lwjgl.system.MemoryStack stack)
JAWT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static int nversion(long struct)
version().public static long nGetDrawingSurface(long struct)
GetDrawingSurface().public static long nFreeDrawingSurface(long struct)
FreeDrawingSurface().public static long nLock(long struct)
Lock().public static long nUnlock(long struct)
Unlock().public static long nGetComponent(long struct)
GetComponent().public static long nCreateEmbeddedFrame(long struct)
CreateEmbeddedFrame().public static long nSetBounds(long struct)
SetBounds().public static long nSynthesizeWindowActivation(long struct)
SynthesizeWindowActivation().public static void nversion(long struct,
int value)
version.Copyright LWJGL. All Rights Reserved. License terms.