Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::editor::Application Class Referencefinal

#include <Application.h>

Public Member Functions

 Application (int argc, char *argv[])
 
 ~Application ()
 
void run ()
 Run the application. This call will block until the application is going to be closed.
 
void close ()
 Close the application. Closing an already-closed application has no effect.
 
bool attachProcedureModule (ProcedureModule *inModule)
 
bool attachRenderModule (RenderModule *inModule)
 
bool detachProcedureModule (ProcedureModule *inModule)
 
bool detachRenderModule (RenderModule *inModule)
 

Constructor & Destructor Documentation

◆ Application()

ph::editor::Application::Application ( int argc,
char * argv[] )

◆ ~Application()

ph::editor::Application::~Application ( )

Member Function Documentation

◆ attachProcedureModule()

bool ph::editor::Application::attachProcedureModule ( ProcedureModule * inModule)

Modules can only be attached before the application starts running, and detached only after the application finishes running.

◆ attachRenderModule()

bool ph::editor::Application::attachRenderModule ( RenderModule * inModule)

◆ close()

void ph::editor::Application::close ( )

Close the application. Closing an already-closed application has no effect.

◆ detachProcedureModule()

bool ph::editor::Application::detachProcedureModule ( ProcedureModule * inModule)

◆ detachRenderModule()

bool ph::editor::Application::detachRenderModule ( RenderModule * inModule)

◆ run()

void ph::editor::Application::run ( )

Run the application. This call will block until the application is going to be closed.


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