Go to the documentation of this file.
29 #ifndef __GL3PlusSupport_H__
30 #define __GL3PlusSupport_H__
38 class GL3PlusRenderSystem;
51 virtual void addConfig() = 0;
52 virtual void setConfigOption(
const String &name,
const String &value);
58 virtual String validateConfig() = 0;
60 virtual RenderWindow* createWindow(
bool autoCreateWindow,
62 const String& windowTitle) = 0;
66 unsigned int width,
unsigned int height,
91 return mShaderCachePath;
99 return mShaderLibraryPath;
107 mShaderCachePath = path;
115 mShaderLibraryPath = path;
121 bool checkMinGLVersion(
const String& v)
const;
126 virtual void *getProcAddress(
const String& procname) = 0;
131 virtual void initialiseExtensions();
136 virtual bool checkExtension(
const String& ext)
const;
147 virtual void start() = 0;
151 virtual void stop() = 0;
const String & getGLVersion(void) const
Get version information.
const String & getShaderLibraryPath(void) const
Get shader library path.
virtual ~GL3PlusSupport()
Manages the target rendering window.
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
map< String, ConfigOption >::type ConfigOptionMap
#define _OgreGL3PlusExport
const String & getGLVendor(void) const
Get vendor information.
String mShaderLibraryPath
set< String >::type extensionList
void setShaderCachePath(String path)
Set shader cache path.
const String & getShaderCachePath(void) const
Get shader cache path.
void setShaderLibraryPath(String path)
Set shader library path.
Implementation of GL 3 as a rendering system.
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