openscenegraph
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
osg::PrimitiveRestartIndex::Extensions Class Reference
Inheritance diagram for osg::PrimitiveRestartIndex::Extensions:
osg::Referenced

Public Member Functions

 Extensions (unsigned int contextID)
 
 Extensions (const Extensions &rhs)
 
void lowestCommonDenominator (const Extensions &rhs)
 
void setupGLExtensions (unsigned int contextID)
 
bool isOpenGL31Supported () const
 
bool isPrimitiveRestartIndexNVSupported () const
 
void glPrimitiveRestartIndex (GLuint index) const
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Protected Types

typedef void(GL_APIENTRYPrimitiveRestartIndex )(GLuint index)
 

Protected Member Functions

 ~Extensions ()
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Protected Attributes

bool _isOpenGL31Supported
 
bool _isPrimitiveRestartIndexNVSupported
 
PrimitiveRestartIndex _glPrimitiveRestartIndex
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 

Detailed Description

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.

Member Typedef Documentation

typedef void(GL_APIENTRY * osg::PrimitiveRestartIndex::Extensions::PrimitiveRestartIndex)(GLuint index)
protected

Constructor & Destructor Documentation

osg::PrimitiveRestartIndex::Extensions::Extensions ( unsigned int  contextID)
osg::PrimitiveRestartIndex::Extensions::Extensions ( const Extensions rhs)
osg::PrimitiveRestartIndex::Extensions::~Extensions ( )
inlineprotected

Member Function Documentation

void osg::PrimitiveRestartIndex::Extensions::glPrimitiveRestartIndex ( GLuint  index) const
bool osg::PrimitiveRestartIndex::Extensions::isOpenGL31Supported ( ) const
inline
bool osg::PrimitiveRestartIndex::Extensions::isPrimitiveRestartIndexNVSupported ( ) const
inline
void osg::PrimitiveRestartIndex::Extensions::lowestCommonDenominator ( const Extensions rhs)
void osg::PrimitiveRestartIndex::Extensions::setupGLExtensions ( unsigned int  contextID)

Member Data Documentation

PrimitiveRestartIndex osg::PrimitiveRestartIndex::Extensions::_glPrimitiveRestartIndex
protected
bool osg::PrimitiveRestartIndex::Extensions::_isOpenGL31Supported
protected
bool osg::PrimitiveRestartIndex::Extensions::_isPrimitiveRestartIndexNVSupported
protected

The documentation for this class was generated from the following file: