OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::GlSwitchableSupport Class Reference

#include <OgreGlSwitchableSupport.h>

+ Inheritance diagram for Ogre::GlSwitchableSupport:

Public Member Functions

 GlSwitchableSupport ()
 
 ~GlSwitchableSupport ()
 
void addConfig ()
 GL3PlusSupport::addConfig More...
 
virtual bool checkExtension (const String &ext) const
 Check if an extension is available. More...
 
WindowcreateWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
 
uint8 findSelectedInterfaceIdx () const
 
virtual ConfigOptionMapgetConfigOptions ()
 
virtual unsigned int getDisplayMonitorCount () const
 Gets the number of display monitors. More...
 
const StringgetGLVendor () const
 Get vendor information. More...
 
const DriverVersiongetGLVersion () const
 Get version information. More...
 
virtual size_t getNumPriorityConfigOptions () const
 RenderSystem::getPriorityConfigOption More...
 
virtual const char * getPriorityConfigOption (size_t idx) const
 RenderSystem::getPriorityConfigOption More...
 
void * getProcAddress (const char *procname) const
 GL3PlusSupport::getProcAddress More...
 
const StringgetShaderCachePath () const
 Get shader cache path. More...
 
const StringgetShaderLibraryPath () const
 Get shader library path. More...
 
bool hasMinGLVersion (int major, int minor) const
 Check if GL Version is supported. More...
 
virtual void initialiseExtensions ()
 Initialises GL extensions, must be done AFTER the GL context has been established. More...
 
WindownewWindow (const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)
 
void setConfigOption (const String &name, const String &value)
 GL3PlusSupport::setConfigOption More...
 
void setShaderCachePath (String path)
 Set shader cache path. More...
 
void setShaderLibraryPath (String path)
 Set shader library path. More...
 
void start ()
 GL3PlusSupport::start More...
 
void stop ()
 GL3PlusSupport::stop More...
 
String validateConfig ()
 GL3PlusSupport::validateConfig More...
 

Constructor & Destructor Documentation

◆ GlSwitchableSupport()

Ogre::GlSwitchableSupport::GlSwitchableSupport ( )

◆ ~GlSwitchableSupport()

Ogre::GlSwitchableSupport::~GlSwitchableSupport ( )

Member Function Documentation

◆ addConfig()

void Ogre::GlSwitchableSupport::addConfig ( )
virtual

◆ checkExtension()

virtual bool Ogre::GL3PlusSupport::checkExtension ( const String ext) const
virtualinherited

Check if an extension is available.

Reimplemented in Ogre::GTKGLSupport.

◆ createWindow()

Window* Ogre::GlSwitchableSupport::createWindow ( bool  autoCreateWindow,
GL3PlusRenderSystem renderSystem,
const String windowTitle 
)
virtual

Implements Ogre::GL3PlusSupport.

◆ findSelectedInterfaceIdx()

uint8 Ogre::GlSwitchableSupport::findSelectedInterfaceIdx ( ) const

◆ getConfigOptions()

virtual ConfigOptionMap& Ogre::GL3PlusSupport::getConfigOptions ( )
virtualinherited

◆ getDisplayMonitorCount()

virtual unsigned int Ogre::GL3PlusSupport::getDisplayMonitorCount ( ) const
inlinevirtualinherited

Gets the number of display monitors.

See also
Root::getDisplayMonitorCount

Reimplemented in Ogre::Win32GLSupport.

◆ getGLVendor()

const String& Ogre::GL3PlusSupport::getGLVendor ( ) const
inlineinherited

Get vendor information.

◆ getGLVersion()

const DriverVersion& Ogre::GL3PlusSupport::getGLVersion ( ) const
inlineinherited

Get version information.

◆ getNumPriorityConfigOptions()

virtual size_t Ogre::GlSwitchableSupport::getNumPriorityConfigOptions ( ) const
virtual

◆ getPriorityConfigOption()

virtual const char* Ogre::GlSwitchableSupport::getPriorityConfigOption ( size_t  idx) const
virtual

◆ getProcAddress()

void* Ogre::GlSwitchableSupport::getProcAddress ( const char *  procname) const
virtual

◆ getShaderCachePath()

const String& Ogre::GL3PlusSupport::getShaderCachePath ( ) const
inlineinherited

Get shader cache path.

◆ getShaderLibraryPath()

const String& Ogre::GL3PlusSupport::getShaderLibraryPath ( ) const
inlineinherited

Get shader library path.

◆ hasMinGLVersion()

bool Ogre::GL3PlusSupport::hasMinGLVersion ( int  major,
int  minor 
) const
inherited

Check if GL Version is supported.

◆ initialiseExtensions()

virtual void Ogre::GL3PlusSupport::initialiseExtensions ( )
virtualinherited

Initialises GL extensions, must be done AFTER the GL context has been established.

Reimplemented in Ogre::GLXGLSupport, Ogre::Win32GLSupport, and Ogre::GTKGLSupport.

◆ newWindow()

Window* Ogre::GlSwitchableSupport::newWindow ( const String name,
uint32  width,
uint32  height,
bool  fullScreen,
const NameValuePairList miscParams = 0 
)
virtual

Implements Ogre::GL3PlusSupport.

◆ setConfigOption()

void Ogre::GlSwitchableSupport::setConfigOption ( const String name,
const String value 
)
virtual

◆ setShaderCachePath()

void Ogre::GL3PlusSupport::setShaderCachePath ( String  path)
inlineinherited

Set shader cache path.

◆ setShaderLibraryPath()

void Ogre::GL3PlusSupport::setShaderLibraryPath ( String  path)
inlineinherited

Set shader library path.

◆ start()

void Ogre::GlSwitchableSupport::start ( )
virtual

◆ stop()

void Ogre::GlSwitchableSupport::stop ( )
virtual

◆ validateConfig()

String Ogre::GlSwitchableSupport::validateConfig ( )
virtual

The documentation for this class was generated from the following file: