openscenegraph
|
Public Member Functions | |
Extensions (unsigned int contextID) | |
Extensions (const Extensions &rhs) | |
void | lowestCommonDenominator (const Extensions &rhs) |
void | setupGLExtensions (unsigned int contextID) |
void | setStencilTwoSidedSupported (bool flag) |
bool | isStencilTwoSidedSupported () const |
void | setOpenGL20Supported (bool flag) |
bool | isOpenGL20Supported () const |
void | setSeparateStencilSupported (bool flag) |
bool | isSeparateStencilSupported () const |
void | glActiveStencilFace (GLenum face) const |
void | glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) const |
void | glStencilMaskSeparate (GLenum face, GLuint mask) const |
void | glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) const |
void | glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) 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 * | ActiveStencilFaceProc) (GLenum) |
typedef void(GL_APIENTRY * | StencilOpSeparate) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
typedef void(GL_APIENTRY * | StencilMaskSeparate) (GLenum face, GLuint mask) |
typedef void(GL_APIENTRY * | StencilFuncSeparate) (GLenum face, GLenum func, GLint ref, GLuint mask) |
typedef void(GL_APIENTRY * | StencilFuncSeparateATI) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) |
Protected Member Functions | |
~Extensions () | |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Protected Attributes | |
bool | _isStencilTwoSidedSupported |
bool | _isOpenGL20Supported |
bool | _isSeparateStencilSupported |
ActiveStencilFaceProc | _glActiveStencilFace |
StencilOpSeparate | _glStencilOpSeparate |
StencilMaskSeparate | _glStencilMaskSeparate |
StencilFuncSeparate | _glStencilFuncSeparate |
StencilFuncSeparate | _glStencilFuncSeparateATI |
![]() | |
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 () |
Extensions class which encapsulates the querying of extensions and associated function pointers, and provide convenience wrappers to check for the extensions or use the associated functions.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
osg::StencilTwoSided::Extensions::Extensions | ( | unsigned int | contextID | ) |
osg::StencilTwoSided::Extensions::Extensions | ( | const Extensions & | rhs | ) |
|
inlineprotected |
void osg::StencilTwoSided::Extensions::glActiveStencilFace | ( | GLenum | face | ) | const |
void osg::StencilTwoSided::Extensions::glStencilFuncSeparate | ( | GLenum | face, |
GLenum | func, | ||
GLint | ref, | ||
GLuint | mask | ||
) | const |
void osg::StencilTwoSided::Extensions::glStencilFuncSeparateATI | ( | GLenum | frontfunc, |
GLenum | backfunc, | ||
GLint | ref, | ||
GLuint | mask | ||
) | const |
void osg::StencilTwoSided::Extensions::glStencilMaskSeparate | ( | GLenum | face, |
GLuint | mask | ||
) | const |
void osg::StencilTwoSided::Extensions::glStencilOpSeparate | ( | GLenum | face, |
GLenum | sfail, | ||
GLenum | dpfail, | ||
GLenum | dppass | ||
) | const |
|
inline |
|
inline |
|
inline |
void osg::StencilTwoSided::Extensions::lowestCommonDenominator | ( | const Extensions & | rhs | ) |
|
inline |
|
inline |
|
inline |
void osg::StencilTwoSided::Extensions::setupGLExtensions | ( | unsigned int | contextID | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |