Game

Undocumented in source.

Constructors

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

Members

Aliases

deferred
alias deferred = deferredRenderer
Undocumented in source.
hud
alias hud = hudRenderer
Undocumented in source.
postProc
alias postProc = postProcessingRenderer
Undocumented in source.
present
alias present = presentRenderer
Undocumented in source.

Functions

onRender
void onRender()
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.
onUpdate
void onUpdate(Time t)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

config
Configuration config;
Undocumented in source.
currentScene
Scene currentScene;
Undocumented in source.
deferredRenderer
DeferredRenderer deferredRenderer;
Undocumented in source.
hudRenderer
HUDRenderer hudRenderer;
Undocumented in source.
postProcessingRenderer
PostProcRenderer postProcessingRenderer;
Undocumented in source.
presentRenderer
PresentRenderer presentRenderer;
Undocumented in source.
renderer
Renderer renderer;
Undocumented in source.

Inherited Members

From Application

width
uint width;
Undocumented in source.
height
uint height;
Undocumented in source.
window
SDL_Window* window;
Undocumented in source.
glcontext
SDL_GLContext glcontext;
Undocumented in source.
cadencer
Cadencer cadencer;
Undocumented in source.
~this
~this()
Undocumented in source.
maximizeWindow
void maximizeWindow()
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.
onUpdate
void onUpdate(Time t)
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.
onAnimationFrame
void onAnimationFrame(Time t)
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.
run
void run()
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.

Meta