IRenderProject Class Referenceabstract

This interface needs to be implemented if the renderer should be used in an object oriented manner. More...

#include <IRenderProject.h>

Public Member Functions

 IRenderProject ()
 Constructor. More...
 
virtual ~IRenderProject ()
 Virtual destructor. More...
 
virtual void initFunction ()=0
 Function that gets called when initializing the renderer. More...
 
virtual void loopFunction (const double &deltaTime, const double &elapsedTime)=0
 Function that gets called repeatedly when looping. More...
 
virtual void terminateFunction ()=0
 Function that gets called when terminating the renderer. More...
 

Protected Member Functions

RendererbRenderer ()
 Returns the project's instance of the renderer. More...
 

Detailed Description

This interface needs to be implemented if the renderer should be used in an object oriented manner.

Author
Benjamin Buergisser

Constructor & Destructor Documentation

IRenderProject::IRenderProject ( )
inline

Constructor.

virtual IRenderProject::~IRenderProject ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

Renderer& IRenderProject::bRenderer ( )
inlineprotected

Returns the project's instance of the renderer.

virtual void IRenderProject::initFunction ( )
pure virtual

Function that gets called when initializing the renderer.

virtual void IRenderProject::loopFunction ( const double &  deltaTime,
const double &  elapsedTime 
)
pure virtual

Function that gets called repeatedly when looping.

Parameters
[in]deltaTimeThe time past since last frame
[in]elapsedTimeThe time past since initializing the renderer
virtual void IRenderProject::terminateFunction ( )
pure virtual

Function that gets called when terminating the renderer.