Class RenderSystem
Defined in File render_system.hpp
Class Documentation
-
class RenderSystem
Public Types
-
typedef unsigned long WindowIDType
Public Functions
-
Ogre::RenderWindow *makeRenderWindow(WindowIDType window_id, unsigned int width, unsigned int height, double pixel_ratio = 1.0)
-
Ogre::Root *getOgreRoot()
-
~RenderSystem()
-
void Destroy()
-
void prepareOverlays(Ogre::SceneManager *scene_manager)
-
int getGlVersion()
return OpenGl Version as integer, e.g. 320 for OpenGl 3.20
-
int getGlslVersion()
return GLSL Version as integer, e.g. 150 for GLSL 1.50
-
bool isStereoSupported()
True if we can render stereo on this device.
Public Static Functions
-
static RenderSystem *get()
-
static void disableAntiAliasing()
Disables the use of Anti Aliasing.
-
static void forceGlVersion(int version)
Force to use the provided OpenGL version on startup.
-
static void forceNoStereo()
Disable stereo rendering even if supported in HW.
-
typedef unsigned long WindowIDType