Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

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

## Private Attributes

friend | IRenderTarget

## 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

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

| Return an instance of RenderSystem.

Returns:
  The RenderSystem.

Definition at line 77 of file KeosRenderApp.h.

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

| Return the rendertarget. Definition at line 81 of file KeosRenderApp.h.

static unsigned long Keos::IRenderApp::GetTime | ( |  | ) | `[inline, static]`

| Return the time since the start of the engine. Definition at line 85 of file KeosRenderApp.h.

virtual void Keos::IRenderApp::Init | ( | void |  | ) | `[pure virtual]`

| Initialization. (Called only once at the start of rendering loop) Referenced by Keos::IRenderTarget::Init().

bool Keos::IRenderApp::IsInit | ( |  | ) | `[inline]`

| Test if Init function has been called. Definition at line 50 of file KeosRenderApp.h. Referenced by Keos::IRenderTarget::~IRenderTarget().

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

| Release resource allocated in Init function. Referenced by Keos::IRenderTarget::~IRenderTarget().

virtual void Keos::IRenderApp::Render | ( | void |  | ) | `[pure virtual]`

| Render one frame. Referenced by Keos::IRenderTarget::Update().

void Keos::IRenderApp::SetInit | ( | bool | bInit | ) | `[inline]`

| Set if Init function has been called. Definition at line 54 of file KeosRenderApp.h. Referenced by Keos::IRenderTarget::Init().

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

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

## Member Data Documentation

friend Keos::IRenderApp::IRenderTarget`[private]`

| Definition at line 37 of file KeosRenderApp.h.

bool Keos::IRenderApp::m_bInit`[protected]`

| Is initialized ? (Init function has been called). Definition at line 92 of file KeosRenderApp.h.

IRenderTarget* Keos::IRenderApp::m_pRenderTarget`[protected]`

| Pointer on the rendertarget. Definition at line 89 of file KeosRenderApp.h.

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

- KeosEngine/KeosRenderApp.h