OpenSceneGraph  3.5.1
Classes | Namespaces | Macros | Functions
GLExtensions File Reference
#include <osg/Export>
#include <osg/GLDefines>
#include <stdlib.h>
#include <string.h>
#include <string>

Classes

class  osg::GLExtensions
 Main GLExtensions class for managing OpenGL extensions per graphics context. More...
 

Namespaces

 osg
 The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
 

Macros

#define OSG_GLEXTENSIONS   1
 

Functions

OSG_EXPORT float osg::getGLVersionNumber ()
 Return floating-point OpenGL version number. More...
 
OSG_EXPORT bool osg::isExtensionInExtensionString (const char *extension, const char *extensionString)
 Return true if "extension" is contained in "extensionString". More...
 
OSG_EXPORT bool osg::isGLExtensionSupported (unsigned int contextID, const char *extension)
 Return true if OpenGL "extension" is supported. More...
 
OSG_EXPORT bool osg::isGLExtensionOrVersionSupported (unsigned int contextID, const char *extension, float requiredGlVersion)
 Return true if OpenGL "extension" or minimum OpenGL version number is supported. More...
 
OSG_EXPORT void * osg::getGLExtensionFuncPtr (const char *funcName)
 Return the address of the specified OpenGL function. More...
 
OSG_EXPORT void osg::setGLExtensionDisableString (const std::string &disableString)
 Set a list of extensions to disable for different OpenGL renderers. More...
 
OSG_EXPORT std::string & osg::getGLExtensionDisableString ()
 Get the list of extensions that are disabled for various OpenGL renderers. More...
 
void * osg::getGLExtensionFuncPtr (const char *funcName, const char *fallbackFuncName)
 Return the address of the specified OpenGL function. More...
 
void * osg::getGLExtensionFuncPtr (const char *funcName1, const char *funcName2, const char *funcName3)
 Return the address of the specified OpenGL function. More...
 
template<typename T , typename R >
bool osg::convertPointer (T &dest, R src)
 
template<typename T , typename R >
osg::convertPointerType (R src)
 
template<typename T >
bool osg::setGLExtensionFuncPtr (T &t, const char *str1)
 
template<typename T >
bool osg::setGLExtensionFuncPtr (T &t, const char *str1, const char *str2)
 
template<typename T >
bool osg::setGLExtensionFuncPtr (T &t, const char *str1, const char *str2, const char *str3)
 

Macro Definition Documentation

#define OSG_GLEXTENSIONS   1

osg logo
Generated at Wed Nov 11 2015 22:14:22 for the OpenSceneGraph by doxygen 1.8.10.