#include <ISApp.H>
Public Member Functions | |
ISApp () | |
virtual | ~ISApp () |
virtual void | splashScreen () |
virtual void | cleanupSplashScreen () |
virtual void | postSplashInit () |
virtual void | postSplashGLContextInit () |
virtual void | inputDone () |
virtual void | draw () |
virtual void | drawDone () |
virtual void | shutdown () |
IS3D::ISApp::ISApp | ( | ) | [inline] |
virtual IS3D::ISApp::~ISApp | ( | ) | [inline, virtual] |
virtual void IS3D::ISApp::splashScreen | ( | ) | [inline, virtual] |
Called right after GL starts up, override this and draw a first frame in here if you want a splash screen or something like that to show up while your data loads.
virtual void IS3D::ISApp::cleanupSplashScreen | ( | ) | [inline, virtual] |
Called after swapBuffers is called for the splashScreen, you can reset G3D's RenderDevice or remove textures from memory, etc.. Use this to reset any state you may have changed in order to draw a splash screen.
virtual void IS3D::ISApp::postSplashInit | ( | ) | [inline, virtual] |
Called after the first frame (the splash screen), but not guaranteed to be inside a GL context if multi-contexts are present. Do normal program data loading / other setup in here.
virtual void IS3D::ISApp::postSplashGLContextInit | ( | ) | [inline, virtual] |
Called after the first frame (the splash screen), this is guaranteed to be called with a GL context active. GL initialization can go in here.
virtual void IS3D::ISApp::inputDone | ( | ) | [inline, virtual] |
Override this if you want to get a callback when you know that the system is done processing input for this frame.
virtual void IS3D::ISApp::draw | ( | ) | [inline, virtual] |
If you want to do very very funky things with rendering you can override this function. The default is to let DrawMgr handle all drawing for you. So, it's best to leave this alone.
References IS3D::DrawMgr::drawFrame().
virtual void IS3D::ISApp::drawDone | ( | ) | [inline, virtual] |
Override this if you want to get a callback when you know that drawing is done for the current frame.
virtual void IS3D::ISApp::shutdown | ( | ) | [inline, virtual] |
Override this if you want a callback when the application is quitting.