Go to the documentation of this file.
28 #ifndef OGRE_GLSUPPORT_H
29 #define OGRE_GLSUPPORT_H
41 class GLStateCacheManager;
54 virtual void addConfig() = 0;
56 virtual void setConfigOption(
const String &name,
const String &value);
62 virtual String validateConfig() = 0;
69 virtual RenderWindow* newWindow(
const String &name,
unsigned int width,
unsigned int height,
72 virtual bool supportsPBuffers();
77 return mStateCacheManager;
82 mStateCacheManager = stateCacheMgr;
88 virtual void start() = 0;
92 virtual void stop() = 0;
113 bool checkMinGLVersion(
const String& v)
const;
118 virtual bool checkExtension(
const String& ext)
const;
122 virtual void* getProcAddress(
const String& procname) = 0;
127 virtual void initialiseExtensions();
151 #endif // OGRE_GLSUPPORT_H
const String & getGLVendor(void) const
Get vendor information.
Manages the target rendering window.
PixelComponentType
Pixel component format.
const String & getGLVersion(void) const
Get version information.
set< String >::type extensionList
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Implementation of GL as a rendering system.
An in memory cache of the OpenGL state.
map< String, ConfigOption >::type ConfigOptionMap
void setStateCacheManager(GLStateCacheManager *stateCacheMgr)
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
GLStateCacheManager * getStateCacheManager() const
GLStateCacheManager * mStateCacheManager
An off-screen rendering context.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15