osg::VertexProgram::Extensions Class Reference

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. More...

Inheritance diagram for osg::VertexProgram::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 setVertexProgramSupported (bool flag)
bool isVertexProgramSupported () const
void glBindProgram (GLenum target, GLuint id) const
void glGenPrograms (GLsizei n, GLuint *programs) const
void glDeletePrograms (GLsizei n, GLuint *programs) const
void glProgramString (GLenum target, GLenum format, GLsizei len, const void *string) const
void glProgramLocalParameter4fv (GLenum target, GLuint index, const GLfloat *params) const

Protected Member Functions

 ~Extensions ()

Protected Attributes

bool _isVertexProgramSupported
void * _glBindProgram
void * _glGenPrograms
void * _glDeletePrograms
void * _glProgramString
void * _glProgramLocalParameter4fv


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.

Constructor & Destructor Documentation

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

osg::VertexProgram::Extensions::Extensions ( const Extensions rhs  ) 

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


Member Function Documentation

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

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

void osg::VertexProgram::Extensions::setVertexProgramSupported ( bool  flag  )  [inline]

bool osg::VertexProgram::Extensions::isVertexProgramSupported (  )  const [inline]

void osg::VertexProgram::Extensions::glBindProgram ( GLenum  target,
GLuint  id 
) const

void osg::VertexProgram::Extensions::glGenPrograms ( GLsizei  n,
GLuint *  programs 
) const

void osg::VertexProgram::Extensions::glDeletePrograms ( GLsizei  n,
GLuint *  programs 
) const

void osg::VertexProgram::Extensions::glProgramString ( GLenum  target,
GLenum  format,
GLsizei  len,
const void *  string 
) const

void osg::VertexProgram::Extensions::glProgramLocalParameter4fv ( GLenum  target,
GLuint  index,
const GLfloat *  params 
) const


Member Data Documentation

bool osg::VertexProgram::Extensions::_isVertexProgramSupported [protected]

void* osg::VertexProgram::Extensions::_glBindProgram [protected]

void* osg::VertexProgram::Extensions::_glGenPrograms [protected]

void* osg::VertexProgram::Extensions::_glDeletePrograms [protected]

void* osg::VertexProgram::Extensions::_glProgramString [protected]

void* osg::VertexProgram::Extensions::_glProgramLocalParameter4fv [protected]


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