|
| OSG_EXPORT float | osg::getGLVersionNumber () |
| | Return floating-point OpenGL/GLES version number.
|
| |
| OSG_EXPORT bool | osg::isExtensionInExtensionString (const char *extension, const char *extensionString) |
| | Return true if "extension" is contained in "extensionString".
|
| |
| OSG_EXPORT bool | osg::isGLExtensionSupported (unsigned int contextID, const char *extension) |
| | Return true if OpenGL/GLES "extension" is supported.
|
| |
| OSG_EXPORT bool | osg::isGLExtensionSupported (unsigned int contextID, const char *extension1, const char *extension2) |
| | Return true if either OpenGL/GLES "extension1" or "extension2" is supported.
|
| |
| OSG_EXPORT bool | osg::isGLExtensionOrVersionSupported (unsigned int contextID, const char *extension, float requiredGlVersion) |
| | Return true if OpenGL/GLES "extension" or minimum OpenGL version number is supported.
|
| |
| OSG_EXPORT void * | osg::getGLExtensionFuncPtr (const char *funcName) |
| | Return the address of the specified OpenGL/GLES 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.
|
| |
| void * | osg::getGLExtensionFuncPtr (const char *funcName1, const char *funcName2, const char *funcName3) |
| | Return the address of the specified OpenGL function.
|
| |
| template<typename T , typename R > |
| bool | osg::convertPointer (T &dest, R src) |
| |
| template<typename T , typename R > |
| T | osg::convertPointerType (R src) |
| |
| template<typename T > |
| bool | osg::setGLExtensionFuncPtr (T &t, const char *str1, bool validContext=true) |
| |
| template<typename T > |
| bool | osg::setGLExtensionFuncPtr (T &t, const char *str1, const char *str2, bool validContext=true) |
| |
| template<typename T > |
| bool | osg::setGLExtensionFuncPtr (T &t, const char *str1, const char *str2, const char *str3, bool validContext=true) |
| |