Go to the documentation of this file.
29 #ifndef INCL_OGRE_GTKGLSUPPORT_H
30 #define INCL_OGRE_GTKGLSUPPORT_H
34 #include <gtkmm/main.h>
47 class GTKGLSupport :
public GL3PlusSupport,
public Singleton<GTKGLSupport>
55 GL3PlusRenderSystem* renderSystem,
const String& windowTitle);
56 RenderWindow*
newWindow(
const String& name,
unsigned int width,
unsigned int height,
57 unsigned int colourDepth,
bool fullScreen,
int left,
int top,
58 bool depthBuffer, RenderWindow* parentWindowHandle,
114 #endif // INCL_OGRE_GTKGLSUPPORT_H
void stop()
Stop anything special.
String validateConfig()
Make sure all the extra options are valid.
Glib::RefPtr< Gdk::GL::Window > _main_window
void initialiseExtensions(void)
Initialises GL extensions, must be done AFTER the GL context has been established.
Glib::RefPtr< Gdk::GL::Context > _main_context
void * getProcAddress(const String &procname)
Get the address of a function.
static GTKGLSupport * getSingletonPtr(void)
Override standard Singleton retrieval.
static GTKGLSupport & getSingleton(void)
Override standard Singleton retrieval.
bool checkExtension(const String &ext) const
Check if an extension is available.
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, RenderWindow *parentWindowHandle, bool vsync)
void setConfigOptions(const String &name, const String &value)
void begin_context(RenderTarget *_target=0)
void addConfig()
Add any special config values to the system.
void start()
Start anything special.
RenderWindow * createWindow(bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle)
bool checkMinGLVersion(const String &v) const
Glib::RefPtr< const Gdk::GL::Context > getMainContext() const
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