wxOgreRenderSystem Class Reference

Simplifies the ogre initialisation process. More...

#include <rendersystem.h>

List of all members.

Public Member Functions

 wxOgreRenderSystem ()
 Creates the Ogre's root.
 wxOgreRenderSystem (const Ogre::String &plugins, const Ogre::String &config, const Ogre::String &log="wxOgre.log")
 Creates the Ogre's root.
virtual ~wxOgreRenderSystem ()
 Clean Ogre instance.
void LoadPlugin (const Ogre::String &plugin)
 Manually load an Ogre plugin contained in a DLL / DSO.
void SelectOgreRenderSystem (const Ogre::String &render)
 Check through all available renderers if, the one the string is "render" exist, if so, it is selected.
bool HasCapability (const Ogre::Capabilities &c)
 Checks for a capability.
void Initialise ()
 Initialises the Ogre's renderer.

Private Attributes

Ogre::Root * m_root


Detailed Description

Simplifies the ogre initialisation process.

Author:
Martin Pieuchot

Definition at line 31 of file rendersystem.h.


Constructor & Destructor Documentation

wxOgreRenderSystem::wxOgreRenderSystem (  ) 

Creates the Ogre's root.

wxOgreRenderSystem::wxOgreRenderSystem ( const Ogre::String &  plugins,
const Ogre::String &  config,
const Ogre::String &  log = "wxOgre.log" 
)

Creates the Ogre's root.

See also:
Ogre::Root

virtual wxOgreRenderSystem::~wxOgreRenderSystem (  )  [virtual]

Clean Ogre instance.


Member Function Documentation

bool wxOgreRenderSystem::HasCapability ( const Ogre::Capabilities &  c  ) 

Checks for a capability.

See also:
Ogre::RenderSystemCapabilities::hasCapability

void wxOgreRenderSystem::Initialise (  ) 

Initialises the Ogre's renderer.

void wxOgreRenderSystem::LoadPlugin ( const Ogre::String &  plugin  ) 

Manually load an Ogre plugin contained in a DLL / DSO.

See also:
Ogre::Root::loadPlugin

void wxOgreRenderSystem::SelectOgreRenderSystem ( const Ogre::String &  render  ) 

Check through all available renderers if, the one the string is "render" exist, if so, it is selected.

Parameters:
render that contains the name of the Render System selected (e.g. Direct3D, OpenGL)


Member Data Documentation

Ogre::Root* wxOgreRenderSystem::m_root [private]

Definition at line 74 of file rendersystem.h.


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