AnimEngine
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Application Class Reference
Collaboration diagram for Application:
Collaboration graph
[legend]

Classes

struct  Configuration
 

Public Member Functions

void init (int argc, char **argv)
 
void run ()
 
void cleanup ()
 
void runRealtime ()
 
void runRender (const std::string &aOutputDir, double aFramerate=24.0)
 
const GLFWwindow * getWindow () const
 
bool shouldExit () const
 
 Application (Application const &)=delete
 
void operator= (Application const &)=delete
 

Static Public Member Functions

static ApplicationgetInstance ()
 

Protected Member Functions

void initGL ()
 
void initGLFW ()
 
void initShaders ()
 
void initScene ()
 
void doSceneFrame (Scene &scene, Animation_System *animationSystem, Render_System *renderSystem)
 
void initPanelAlphas ()
 
void initPanelPortals (Scene &aShot)
 

Protected Attributes

std::vector< Sceneshots
 
GLuint mPanelOutline = 0
 
std::vector< GLuint > mPanelMasks
 
struct Application::Configuration config
 
bool mShouldExit = false
 
GLFWwindow * mWindow = nullptr
 

The documentation for this class was generated from the following files: