메소드 | 설명 | |
---|---|---|
BeginFrame ( int frame ) : void |
Begins active rendering frame Use this method instead of Engine.BeginFrame() when using build-in windowing |
|
Create ( string overlay, WindowFlags flags ) : |
Creates a window for rendering This is a singleton object: calling Init multiple times will return the same reference |
|
CreateThreaded ( string overlay, WindowFlags flags ) : |
Creates a multithreaded window for rendering This is a singleton object: calling Init multiple times will return the same reference |
|
Delay ( uint msecs ) : void |
|
|
Delete ( ) : void |
|
|
DrawFrame ( int time ) : void |
Draws a frame to the window This method does delegate-driven rendering |
|
EndFrame ( ) : void |
|
|
GetInput ( Input id ) : bool |
Returns the state of a given input
|
|
Process ( ) : bool |
Does basic window housekeeping in signgle-threaded window. Must be called for each frame in game loop This method must be called only for single-threaded windows, created with Create() method. |
|
WaitRedraw ( ) : void |
|
메소드 | 설명 | |
---|---|---|
TLN_BeginWindowFrame ( int frame ) : void | ||
TLN_CreateWindow ( string overlay, WindowFlags flags ) : bool | ||
TLN_CreateWindowThread ( string overlay, WindowFlags flags ) : bool | ||
TLN_Delay ( uint msecs ) : void | ||
TLN_DeleteWindow ( ) : void | ||
TLN_DrawFrame ( int time ) : void | ||
TLN_EnableBlur ( [ mode ) : void | ||
TLN_EndWindowFrame ( ) : void | ||
TLN_GetInput ( Input id ) : bool | ||
TLN_GetLastInput ( ) : Input | ||
TLN_GetTicks ( ) : uint | ||
TLN_IsWindowActive ( ) : bool | ||
TLN_ProcessWindow ( ) : bool | ||
TLN_SetWindowTitle ( string title ) : void | ||
TLN_WaitRedraw ( ) : void |
public static Create ( string overlay, WindowFlags flags ) : |
||
overlay | string | Optional path of a bmp file to overlay (for emulating RGB mask, scanlines, etc) |
flags | WindowFlags | Combined mask of the possible creation flags |
리턴 |
public static CreateThreaded ( string overlay, WindowFlags flags ) : |
||
overlay | string | Optional path of a bmp file to overlay (for emulating RGB mask, scanlines, etc) |
flags | WindowFlags | Combined mask of the possible creation flags |
리턴 |
public GetInput ( Input id ) : bool | ||
id | Input | Input identificator to check state |
리턴 | bool |