openscenegraph
|
Public Member Functions | |
Extensions (unsigned int contextID) | |
Extensions (const Extensions &rhs) | |
void | lowestCommonDenominator (const Extensions &rhs) |
void | setupGLExtensions (unsigned int contextID) |
void | setBlendColorSupported (bool flag) |
bool | isBlendColorSupported () const |
void | glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) const |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Protected Types | |
typedef void(GL_APIENTRY * | GLBlendColorProc) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
Protected Member Functions | |
~Extensions () | |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Protected Attributes | |
bool | _isBlendColorSupported |
GLBlendColorProc | _glBlendColor |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
Encapsulates queries of extension availability, obtains extension function pointers, and provides convenience wrappers for calling extension functions.
|
protected |
osg::BlendColor::Extensions::Extensions | ( | unsigned int | contextID | ) |
osg::BlendColor::Extensions::Extensions | ( | const Extensions & | rhs | ) |
|
inlineprotected |
void osg::BlendColor::Extensions::glBlendColor | ( | GLclampf | red, |
GLclampf | green, | ||
GLclampf | blue, | ||
GLclampf | alpha | ||
) | const |
|
inline |
void osg::BlendColor::Extensions::lowestCommonDenominator | ( | const Extensions & | rhs | ) |
|
inline |
void osg::BlendColor::Extensions::setupGLExtensions | ( | unsigned int | contextID | ) |
|
protected |
|
protected |