#include <render_system.h>
Public Member Functions | |
Ogre::RenderWindow * | makeRenderWindow (intptr_t window_id, unsigned int width, unsigned int height) |
Ogre::Root * | root () |
Static Public Member Functions | |
static RenderSystem * | get () |
Private Member Functions | |
void | loadOgrePlugins () |
RenderSystem () | |
void | setupDummyWindowId () |
void | setupRenderSystem () |
void | setupResources () |
Private Attributes | |
unsigned long | dummy_window_id_ |
Ogre::Root * | ogre_root_ |
Static Private Attributes | |
static RenderSystem * | instance_ = 0 |
Definition at line 38 of file render_system.h.
ogre_tools::RenderSystem::RenderSystem | ( | ) | [private] |
Definition at line 59 of file render_system.cpp.
RenderSystem * ogre_tools::RenderSystem::get | ( | ) | [static] |
Definition at line 50 of file render_system.cpp.
void ogre_tools::RenderSystem::loadOgrePlugins | ( | ) | [private] |
Definition at line 96 of file render_system.cpp.
Ogre::RenderWindow * ogre_tools::RenderSystem::makeRenderWindow | ( | intptr_t | window_id, |
unsigned int | width, | ||
unsigned int | height | ||
) |
Definition at line 168 of file render_system.cpp.
Ogre::Root* ogre_tools::RenderSystem::root | ( | ) | [inline] |
Definition at line 45 of file render_system.h.
void ogre_tools::RenderSystem::setupDummyWindowId | ( | ) | [private] |
Definition at line 71 of file render_system.cpp.
void ogre_tools::RenderSystem::setupRenderSystem | ( | ) | [private] |
We used to allow the user to set the RTT mode to PBuffer, FBO, or Copy. Copy is slow, and there doesn't seem to be a good reason to use it PBuffer limits the size of the renderable area of the RTT to the size of the first window created. FBO seem to be the only good option
Definition at line 113 of file render_system.cpp.
void ogre_tools::RenderSystem::setupResources | ( | ) | [private] |
Definition at line 157 of file render_system.cpp.
unsigned long ogre_tools::RenderSystem::dummy_window_id_ [private] |
Definition at line 59 of file render_system.h.
RenderSystem * ogre_tools::RenderSystem::instance_ = 0 [static, private] |
Definition at line 56 of file render_system.h.
Ogre::Root* ogre_tools::RenderSystem::ogre_root_ [private] |
Definition at line 61 of file render_system.h.