#include <osg/Export>
#include <stdlib.h>
#include <string.h>
#include <string>
Namespaces | |
namespace | osg |
Defines | |
#define | OSG_GLEXTENSIONS 1 |
Functions | |
OSG_EXPORT float | osg::getGLVersionNumber () |
Return floating-point OpenGL version number. | |
OSG_EXPORT bool | osg::isGLExtensionSupported (unsigned int contextID, const char *extension) |
Return true if OpenGL "extension" is supported. | |
OSG_EXPORT void * | osg::getGLExtensionFuncPtr (const char *funcName) |
Return the address of the specified OpenGL function. | |
OSG_EXPORT void | osg::setGLExtensionDisableString (const std::string &disableString) |
Set a list of extensions to disable for different OpenGL renderers. | |
OSG_EXPORT std::string & | osg::getGLExtensionDisableString () |
Get the list of extensions that are disabled for various OpenGL renderers. | |
void * | osg::getGLExtensionFuncPtr (const char *funcName, const char *fallbackFuncName) |
Return the address of the specified OpenGL function. | |
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) |
OSG_EXPORT bool | osg::isGLUExtensionSupported (unsigned int contextID, const char *extension) |
Return true if OpenGL "extension" is supported. |
#define OSG_GLEXTENSIONS 1 |