osg::Point::Extensions Class Reference

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

Inheritance diagram for osg::Point::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 setPointParametersSupported (bool flag)
bool isPointParametersSupported () const
void setPointSpriteCoordOriginSupported (bool flag)
bool isPointSpriteCoordOriginSupported () const
void glPointParameteri (GLenum pname, GLint param) const
void glPointParameterf (GLenum pname, GLfloat param) const
void glPointParameterfv (GLenum pname, const GLfloat *params) const

Protected Types

typedef GLint param
typedef GLfloat param
typedef const GLfloat * params

Protected Member Functions

 ~Extensions ()
typedef void (APIENTRY *GLPointParameteriProc)(GLenum pname
typedef void (APIENTRY *GLPointParameterfProc)(GLenum pname
typedef void (APIENTRY *GLPointParameterfvProc)(GLenum pname

Protected Attributes

bool _isPointParametersSupported
bool _isPointSpriteCoordOriginSupported
GLPointParameteriProc _glPointParameteri
GLPointParameterfProc _glPointParameterf
GLPointParameterfvProc _glPointParameterfv


Detailed Description

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


Member Typedef Documentation

typedef GLint osg::Point::Extensions::param [protected]

typedef GLfloat osg::Point::Extensions::param [protected]

typedef const GLfloat* osg::Point::Extensions::params [protected]


Constructor & Destructor Documentation

osg::Point::Extensions::Extensions ( unsigned int  contextID  ) 

osg::Point::Extensions::Extensions ( const Extensions rhs  ) 

osg::Point::Extensions::~Extensions (  )  [inline, protected]


Member Function Documentation

void osg::Point::Extensions::lowestCommonDenominator ( const Extensions rhs  ) 

void osg::Point::Extensions::setupGLExtensions ( unsigned int  contextID  ) 

void osg::Point::Extensions::setPointParametersSupported ( bool  flag  )  [inline]

bool osg::Point::Extensions::isPointParametersSupported (  )  const [inline]

void osg::Point::Extensions::setPointSpriteCoordOriginSupported ( bool  flag  )  [inline]

bool osg::Point::Extensions::isPointSpriteCoordOriginSupported (  )  const [inline]

void osg::Point::Extensions::glPointParameteri ( GLenum  pname,
GLint  param 
) const

void osg::Point::Extensions::glPointParameterf ( GLenum  pname,
GLfloat  param 
) const

void osg::Point::Extensions::glPointParameterfv ( GLenum  pname,
const GLfloat *  params 
) const

typedef osg::Point::Extensions::void ( APIENTRY *  GLPointParameteriProc  )  [protected]

typedef osg::Point::Extensions::void ( APIENTRY *  GLPointParameterfProc  )  [protected]

typedef osg::Point::Extensions::void ( APIENTRY *  GLPointParameterfvProc  )  [protected]


Member Data Documentation

bool osg::Point::Extensions::_isPointParametersSupported [protected]

bool osg::Point::Extensions::_isPointSpriteCoordOriginSupported [protected]

GLPointParameteriProc osg::Point::Extensions::_glPointParameteri [protected]

GLPointParameterfProc osg::Point::Extensions::_glPointParameterf [protected]

GLPointParameterfvProc osg::Point::Extensions::_glPointParameterfv [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:13 2007 for the OpenSceneGraph by doxygen 1.5.3.