#include <KeosRenderApp.h>
Public Member Functions | |
| IRenderApp () | |
| Constructor. | |
| bool | IsInit () |
| Test if Init function has been called. | |
| void | SetInit (bool bInit) |
| Set if Init function has been called. | |
| virtual void | Init (void)=0 |
| Initialization. | |
| virtual void | Render (void)=0 |
| Render one frame. | |
| virtual void | Update (void)=0 |
| virtual void | Release (void)=0 |
| Release resource allocated in Init function. | |
| IRenderTarget * | GetRenderTarget (void) |
| Return the rendertarget. | |
Static Public Member Functions | |
| static IRenderSystem * | GetRenderSystem () |
| Return an instance of RenderSystem. | |
| static unsigned long | GetTime () |
| Return the time since the start of the engine. | |
Protected Attributes | |
| IRenderTarget * | m_pRenderTarget |
| Pointer on the rendertarget. | |
| bool | m_bInit |
| Is initialized ? (Init function has been called). | |
Definition at line 35 of file KeosRenderApp.h.
| Keos::IRenderApp::IRenderApp | ( | ) | [inline] |
| bool Keos::IRenderApp::IsInit | ( | ) | [inline] |
Test if Init function has been called.
Definition at line 51 of file KeosRenderApp.h.
Referenced by Keos::IRenderTarget::~IRenderTarget().
| void Keos::IRenderApp::SetInit | ( | bool | bInit | ) | [inline] |
Set if Init function has been called.
Definition at line 58 of file KeosRenderApp.h.
Referenced by Keos::IRenderTarget::Init().
| virtual void Keos::IRenderApp::Init | ( | void | ) | [pure virtual] |
Initialization.
(Called only once at the start of rendering loop)
Referenced by Keos::IRenderTarget::Init().
| virtual void Keos::IRenderApp::Render | ( | void | ) | [pure virtual] |
| virtual void Keos::IRenderApp::Update | ( | void | ) | [pure virtual] |
Referenced by Keos::IRenderTarget::Update().
| virtual void Keos::IRenderApp::Release | ( | void | ) | [pure virtual] |
| static IRenderSystem* Keos::IRenderApp::GetRenderSystem | ( | ) | [inline, static] |
Return an instance of RenderSystem.
Definition at line 84 of file KeosRenderApp.h.
References Keos::CSingleton< T >::Instance().
| IRenderTarget* Keos::IRenderApp::GetRenderTarget | ( | void | ) | [inline] |
| static unsigned long Keos::IRenderApp::GetTime | ( | ) | [inline, static] |
Return the time since the start of the engine.
Definition at line 98 of file KeosRenderApp.h.
References Keos::CSingleton< T >::Instance().
IRenderTarget* Keos::IRenderApp::m_pRenderTarget [protected] |
Pointer on the rendertarget.
Definition at line 105 of file KeosRenderApp.h.
Referenced by Keos::IRenderTarget::SetRenderApp().
bool Keos::IRenderApp::m_bInit [protected] |
1.5.1-p1