![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
#include <OgreGL3PlusSupport.h>
Public Member Functions | |
GL3PlusSupport () | |
virtual | ~GL3PlusSupport () |
virtual void | addConfig ()=0 |
Add any special config values to the system. | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. | |
virtual RenderWindow * | createWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)=0 |
virtual ConfigOptionMap & | getConfigOptions (void) |
virtual unsigned int | getDisplayMonitorCount () const |
Gets the number of display monitors. | |
const String & | getGLVendor (void) const |
Get vendor information. | |
const DriverVersion & | getGLVersion (void) const |
Get version information. | |
virtual void * | getProcAddress (const char *procname) const =0 |
Get the address of a function. | |
const String & | getShaderCachePath (void) const |
Get shader cache path. | |
const String & | getShaderLibraryPath (void) const |
Get shader library path. | |
bool | hasMinGLVersion (int major, int minor) const |
Check if GL Version is supported. | |
virtual void | initialiseExtensions () |
Initialises GL extensions, must be done AFTER the GL context has been established. | |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0 |
Creates a new rendering window. | |
virtual void | setConfigOption (const String &name, const String &value) |
void | setShaderCachePath (String path) |
Set shader cache path. | |
void | setShaderLibraryPath (String path) |
Set shader library path. | |
virtual void | start ()=0 |
Start anything special. | |
virtual void | stop ()=0 |
Stop anything special. | |
virtual String | validateConfig ()=0 |
Make sure all the extra options are valid. | |
|
inline |
|
inlinevirtual |
Add any special config values to the system.
Must have a "Full Screen" value that is a bool and a "Video Mode" value that is a string in the form of wxh
Implemented in Ogre::GTKGLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::OSXGL3PlusSupport, and Ogre::SDLGLSupport.
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport.
|
pure virtual |
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::OSXGL3PlusSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport.
|
virtual |
Gets the number of display monitors.
Reimplemented in Ogre::Win32GLSupport.
|
inline |
Get version information.
Get the address of a function.
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::OSXGL3PlusSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport.
Get shader cache path.
Get shader library path.
Check if GL Version is supported.
Initialises GL extensions, must be done AFTER the GL context has been established.
Reimplemented in Ogre::GLXGLSupport, Ogre::Win32GLSupport, and Ogre::GTKGLSupport.
|
pure virtual |
Creates a new rendering window.
name | The name of the window. Used in other methods later like setRenderTarget and getRenderTarget. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
width | The width of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
height | The height of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fullScreen | Specify true to make the window full screen without borders, title bar or menu bar. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platforms unless indicated otherwise:
|
Implemented in Ogre::GLXGLSupport, Ogre::OSXGL3PlusSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport.
|
virtual |
Reimplemented in Ogre::GLXGLSupport, and Ogre::Win32GLSupport.
Start anything special.
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::OSXGL3PlusSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport.
Stop anything special.
Implemented in Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::OSXGL3PlusSupport, Ogre::SDLGLSupport, and Ogre::Win32GLSupport.
Make sure all the extra options are valid.
Implemented in Ogre::GTKGLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::OSXGL3PlusSupport, and Ogre::SDLGLSupport.