Keos::IRenderApp Class Reference

Abstract class which contains the functions for the render of one RenderTarget. More...

#include <KeosRenderApp.h>

List of all members.

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.
IRenderTargetGetRenderTarget (void)
 Return the rendertarget.

Static Public Member Functions

static IRenderSystemGetRenderSystem ()
 Return an instance of RenderSystem.
static unsigned long GetTime ()
 Return the time since the start of the engine.

Protected Attributes

IRenderTargetm_pRenderTarget
 Pointer on the rendertarget.
bool m_bInit
 Is initialized ? (Init function has been called).


Detailed Description

Abstract class which contains the functions for the render of one RenderTarget.

Definition at line 35 of file KeosRenderApp.h.


Constructor & Destructor Documentation

Keos::IRenderApp::IRenderApp (  )  [inline]

Constructor.

Definition at line 43 of file KeosRenderApp.h.


Member Function Documentation

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]

Render one frame.

Referenced by Keos::IRenderTarget::Update().

virtual void Keos::IRenderApp::Update ( void   )  [pure virtual]

Referenced by Keos::IRenderTarget::Update().

virtual void Keos::IRenderApp::Release ( void   )  [pure virtual]

Release resource allocated in Init function.

Referenced by Keos::IRenderTarget::~IRenderTarget().

static IRenderSystem* Keos::IRenderApp::GetRenderSystem (  )  [inline, static]

Return an instance of RenderSystem.

Returns:
The RenderSystem.

Definition at line 84 of file KeosRenderApp.h.

References Keos::CSingleton< T >::Instance().

IRenderTarget* Keos::IRenderApp::GetRenderTarget ( void   )  [inline]

Return the rendertarget.

Definition at line 91 of file KeosRenderApp.h.

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().


Member Data Documentation

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]

Is initialized ? (Init function has been called).

Definition at line 108 of file KeosRenderApp.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 9 14:29:26 2007 for Keos by  doxygen 1.5.1-p1