OpenSceneGraph  3.0.1
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
osg::BlendEquation::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::BlendEquation::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)
bool isBlendEquationSupported () const
bool isBlendEquationSeparateSupported () const
bool isSGIXMinMaxSupported () const
bool isLogicOpSupported () const
void glBlendEquation (GLenum mode) const
void glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) const

Protected Types

typedef void(GL_APIENTRY * GLBlendEquationProc )(GLenum mode)
typedef void(GL_APIENTRY * GLBlendEquationSeparateProc )(GLenum modeRGB, GLenum modeAlpha)

Protected Member Functions

 ~Extensions ()

Protected Attributes

bool _isBlendEquationSupported
bool _isBlendEquationSeparateSupported
bool _isSGIXMinMaxSupported
bool _isLogicOpSupported
GLBlendEquationProc _glBlendEquation
GLBlendEquationSeparateProc _glBlendEquationSeparate

Detailed Description

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


Member Typedef Documentation

typedef void(GL_APIENTRY * osg::BlendEquation::Extensions::GLBlendEquationProc)(GLenum mode) [protected]
typedef void(GL_APIENTRY * osg::BlendEquation::Extensions::GLBlendEquationSeparateProc)(GLenum modeRGB, GLenum modeAlpha) [protected]

Constructor & Destructor Documentation

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

Member Function Documentation

void osg::BlendEquation::Extensions::glBlendEquation ( GLenum  mode) const
void osg::BlendEquation::Extensions::glBlendEquationSeparate ( GLenum  modeRGB,
GLenum  modeAlpha 
) const
bool osg::BlendEquation::Extensions::isBlendEquationSeparateSupported ( ) const [inline]
bool osg::BlendEquation::Extensions::isBlendEquationSupported ( ) const [inline]
bool osg::BlendEquation::Extensions::isLogicOpSupported ( ) const [inline]
bool osg::BlendEquation::Extensions::isSGIXMinMaxSupported ( ) const [inline]
void osg::BlendEquation::Extensions::lowestCommonDenominator ( const Extensions rhs)
void osg::BlendEquation::Extensions::setupGLExtensions ( unsigned int  contextID)

Member Data Documentation


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.