OpenSceneGraph  3.0.1
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
osg::BlendColor::Extensions Class Reference

Encapsulates queries of extension availability, obtains extension function pointers, and provides convenience wrappers for calling extension functions. More...

Inheritance diagram for osg::BlendColor::Extensions:
Inheritance graph
[legend]

List of all members.

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

Protected Types

typedef GLclampf green
typedef GLclampf GLclampf blue
typedef GLclampf GLclampf GLclampf alpha

Protected Member Functions

 ~Extensions ()
typedef void (GL_APIENTRY *GLBlendColorProc)(GLclampf red

Protected Attributes

bool _isBlendColorSupported
GLBlendColorProc _glBlendColor

Detailed Description

Encapsulates queries of extension availability, obtains extension function pointers, and provides convenience wrappers for calling extension functions.


Member Typedef Documentation

typedef GLclampf GLclampf GLclampf osg::BlendColor::Extensions::alpha [protected]
typedef GLclampf GLclampf osg::BlendColor::Extensions::blue [protected]
typedef GLclampf osg::BlendColor::Extensions::green [protected]

Constructor & Destructor Documentation

osg::BlendColor::Extensions::Extensions ( unsigned int  contextID)
osg::BlendColor::Extensions::Extensions ( const Extensions rhs)
osg::BlendColor::Extensions::~Extensions ( ) [inline, protected]

Member Function Documentation

void osg::BlendColor::Extensions::glBlendColor ( GLclampf  red,
GLclampf  green,
GLclampf  blue,
GLclampf  alpha 
) const
bool osg::BlendColor::Extensions::isBlendColorSupported ( ) const [inline]
void osg::BlendColor::Extensions::lowestCommonDenominator ( const Extensions rhs)
void osg::BlendColor::Extensions::setBlendColorSupported ( bool  flag) [inline]
void osg::BlendColor::Extensions::setupGLExtensions ( unsigned int  contextID)
typedef osg::BlendColor::Extensions::void ( GL_APIENTRY *  GLBlendColorProc) [protected]

Member Data Documentation

GLBlendColorProc osg::BlendColor::Extensions::_glBlendColor [protected]

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

osg logo
Generated at Mon Oct 3 2011 12:39:41 for the OpenSceneGraph by doxygen 1.7.5.