Application

Undocumented in source.

Constructors

this
this(uint w, uint h, bool fullscreen, string windowTitle, string[] args)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

beginRender
void beginRender()
Undocumented in source. Be warned that the author may not have intended to support it.
checkGLError
void checkGLError()
Undocumented in source. Be warned that the author may not have intended to support it.
endRender
void endRender()
Undocumented in source. Be warned that the author may not have intended to support it.
exit
void exit()
Undocumented in source. Be warned that the author may not have intended to support it.
onRender
void onRender()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void onUpdate(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
onUserEvent
void onUserEvent(int code)
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

glcontext
SDL_GLContext glcontext;
Undocumented in source.
height
uint height;
Undocumented in source.
libdir
string libdir;
Undocumented in source.
width
uint width;
Undocumented in source.
window
SDL_Window* window;
Undocumented in source.

Inherited Members

From EventListener

eventManager
EventManager eventManager;
Undocumented in source.
enabled
bool enabled;
Undocumented in source.
generateUserEvent
void generateUserEvent(int code)
Undocumented in source. Be warned that the author may not have intended to support it.
processEvents
void processEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
processEvent
void processEvent(Event* e)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyDown
void onKeyDown(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyUp
void onKeyUp(int key)
Undocumented in source. Be warned that the author may not have intended to support it.
onTextInput
void onTextInput(dchar code)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButtonDown
void onMouseButtonDown(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButtonUp
void onMouseButtonUp(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseWheel
void onMouseWheel(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickButtonDown
void onJoystickButtonDown(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickButtonUp
void onJoystickButtonUp(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
onJoystickAxisMotion
void onJoystickAxisMotion(int axis, float value)
Undocumented in source. Be warned that the author may not have intended to support it.
onResize
void onResize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
onFocusLoss
void onFocusLoss()
Undocumented in source. Be warned that the author may not have intended to support it.
onFocusGain
void onFocusGain()
Undocumented in source. Be warned that the author may not have intended to support it.
onQuit
void onQuit()
Undocumented in source. Be warned that the author may not have intended to support it.
onAssetReload
void onAssetReload(Asset asset)
Undocumented in source. Be warned that the author may not have intended to support it.
onUserEvent
void onUserEvent(int code)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta