OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::OSXGL3PlusSupport Class Reference

#include <OgreOSXGL3PlusSupport.h>

+ Inheritance diagram for Ogre::OSXGL3PlusSupport:
+ Collaboration diagram for Ogre::OSXGL3PlusSupport:

Public Member Functions

 OSXGL3PlusSupport ()
 
 ~OSXGL3PlusSupport ()
 
void addConfig (void)
 Add any special config values to the system. More...
 
virtual bool checkExtension (const String &ext) const
 Check if an extension is available. More...
 
bool checkMinGLVersion (const String &v) const
 Compare GL version numbers. More...
 
RenderWindowcreateWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
 
virtual ConfigOptionMapgetConfigOptions (void)
 
virtual unsigned int getDisplayMonitorCount () const
 Gets the number of display monitors. More...
 
const StringgetGLVendor (void) const
 Get vendor information. More...
 
const StringgetGLVersion (void) const
 Get version information. More...
 
void * getProcAddress (const char *name)
 Get the address of a function. More...
 
void * getProcAddress (const String &procname)
 Get the address of a function. More...
 
const StringgetShaderCachePath (void) const
 Get shader cache path. More...
 
const StringgetShaderLibraryPath (void) const
 Get shader library path. More...
 
virtual void initialiseExtensions ()
 Initialises GL extensions, must be done AFTER the GL context has been established. More...
 
virtual RenderWindownewWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
 
virtual void setConfigOption (const String &name, const String &value)
 
void setShaderCachePath (String path)
 Set shader cache path. More...
 
void setShaderLibraryPath (String path)
 Set shader library path. More...
 
void start ()
 Start anything special. More...
 
void stop ()
 Stop anything special. More...
 
virtual bool supportsPBuffers ()
 
String validateConfig (void)
 Make sure all the extra options are valid. More...
 

Static Public Member Functions

static CFComparisonResult _compareModes (const void *val1, const void *val2, void *context)
 
static Boolean _getDictionaryBoolean (CFDictionaryRef dict, const void *key)
 
static long _getDictionaryLong (CFDictionaryRef dict, const void *key)
 

Protected Attributes

set< String >::type extensionList
 
ConfigOptionMap mOptions
 

Detailed Description

Definition at line 38 of file OgreOSXGL3PlusSupport.h.

Constructor & Destructor Documentation

Ogre::OSXGL3PlusSupport::OSXGL3PlusSupport ( )
Ogre::OSXGL3PlusSupport::~OSXGL3PlusSupport ( )

Member Function Documentation

static CFComparisonResult Ogre::OSXGL3PlusSupport::_compareModes ( const void *  val1,
const void *  val2,
void *  context 
)
static
static Boolean Ogre::OSXGL3PlusSupport::_getDictionaryBoolean ( CFDictionaryRef  dict,
const void *  key 
)
static
static long Ogre::OSXGL3PlusSupport::_getDictionaryLong ( CFDictionaryRef  dict,
const void *  key 
)
static
void Ogre::OSXGL3PlusSupport::addConfig ( void  )
virtual

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

Implements Ogre::GL3PlusSupport.

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

Check if an extension is available.

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

bool Ogre::GL3PlusSupport::checkMinGLVersion ( const String v) const
inherited

Compare GL version numbers.

RenderWindow* Ogre::OSXGL3PlusSupport::createWindow ( bool  autoCreateWindow,
GL3PlusRenderSystem renderSystem,
const String windowTitle 
)
virtual

Implements Ogre::GL3PlusSupport.

virtual ConfigOptionMap& Ogre::GL3PlusSupport::getConfigOptions ( void  )
virtualinherited
virtual unsigned int Ogre::GL3PlusSupport::getDisplayMonitorCount ( ) const
inlinevirtualinherited

Gets the number of display monitors.

See also
Root::getDisplayMonitorCount

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

Definition at line 139 of file OgreGL3PlusSupport.h.

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

Get vendor information.

Definition at line 73 of file OgreGL3PlusSupport.h.

const String& Ogre::GL3PlusSupport::getGLVersion ( void  ) const
inlineinherited

Get version information.

Definition at line 81 of file OgreGL3PlusSupport.h.

void* Ogre::OSXGL3PlusSupport::getProcAddress ( const char *  name)

Get the address of a function.

void* Ogre::OSXGL3PlusSupport::getProcAddress ( const String procname)
virtual

Get the address of a function.

Implements Ogre::GL3PlusSupport.

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

Get shader cache path.

Definition at line 89 of file OgreGL3PlusSupport.h.

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

Get shader library path.

Definition at line 97 of file OgreGL3PlusSupport.h.

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

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

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

virtual RenderWindow* Ogre::OSXGL3PlusSupport::newWindow ( const String name,
unsigned int  width,
unsigned int  height,
bool  fullScreen,
const NameValuePairList miscParams = 0 
)
virtual

Implements Ogre::GL3PlusSupport.

virtual void Ogre::GL3PlusSupport::setConfigOption ( const String name,
const String value 
)
virtualinherited
void Ogre::GL3PlusSupport::setShaderCachePath ( String  path)
inlineinherited

Set shader cache path.

Definition at line 105 of file OgreGL3PlusSupport.h.

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

Set shader library path.

Definition at line 113 of file OgreGL3PlusSupport.h.

void Ogre::OSXGL3PlusSupport::start ( )
virtual

Start anything special.

Implements Ogre::GL3PlusSupport.

void Ogre::OSXGL3PlusSupport::stop ( )
virtual

Stop anything special.

Implements Ogre::GL3PlusSupport.

virtual bool Ogre::OSXGL3PlusSupport::supportsPBuffers ( )
virtual
String Ogre::OSXGL3PlusSupport::validateConfig ( void  )
virtual

Make sure all the extra options are valid.

Implements Ogre::GL3PlusSupport.

Member Data Documentation

set<String>::type Ogre::GL3PlusSupport::extensionList
protectedinherited

Definition at line 164 of file OgreGL3PlusSupport.h.

ConfigOptionMap Ogre::GL3PlusSupport::mOptions
protectedinherited

Definition at line 161 of file OgreGL3PlusSupport.h.


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