osg::FragmentProgram::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::FragmentProgram::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 setFragmentProgramSupported (bool flag)
bool isFragmentProgramSupported () 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 Types

typedef GLuint id
typedef GLuint * programs
typedef GLuint * programs
typedef GLenum format
typedef GLenum GLsizei len
typedef GLenum
GLsizei const void * 
string
typedef GLuint index
typedef GLuint const
GLfloat * 
params

Protected Member Functions

 ~Extensions ()
typedef void (APIENTRY *BindProgramProc)(GLenum target
typedef void (APIENTRY *GenProgramsProc)(GLsizei n
typedef void (APIENTRY *DeleteProgramsProc)(GLsizei n
typedef void (APIENTRY *ProgramStringProc)(GLenum target
typedef void (APIENTRY *ProgramLocalParameter4fvProc)(GLenum target

Protected Attributes

bool _isFragmentProgramSupported
BindProgramProc _glBindProgram
GenProgramsProc _glGenPrograms
DeleteProgramsProc _glDeletePrograms
ProgramStringProc _glProgramString
ProgramLocalParameter4fvProc _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.


Member Typedef Documentation

typedef GLuint osg::FragmentProgram::Extensions::id [protected]

typedef GLuint* osg::FragmentProgram::Extensions::programs [protected]

typedef GLuint* osg::FragmentProgram::Extensions::programs [protected]

typedef GLenum osg::FragmentProgram::Extensions::format [protected]

typedef GLenum GLsizei osg::FragmentProgram::Extensions::len [protected]

typedef GLenum GLsizei const void* osg::FragmentProgram::Extensions::string [protected]

typedef GLuint osg::FragmentProgram::Extensions::index [protected]

typedef GLuint const GLfloat* osg::FragmentProgram::Extensions::params [protected]


Constructor & Destructor Documentation

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

osg::FragmentProgram::Extensions::Extensions ( const Extensions rhs  ) 

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


Member Function Documentation

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

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

void osg::FragmentProgram::Extensions::setFragmentProgramSupported ( bool  flag  )  [inline]

bool osg::FragmentProgram::Extensions::isFragmentProgramSupported (  )  const [inline]

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

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

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

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

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

typedef osg::FragmentProgram::Extensions::void ( APIENTRY *  BindProgramProc  )  [protected]

typedef osg::FragmentProgram::Extensions::void ( APIENTRY *  GenProgramsProc  )  [protected]

typedef osg::FragmentProgram::Extensions::void ( APIENTRY *  DeleteProgramsProc  )  [protected]

typedef osg::FragmentProgram::Extensions::void ( APIENTRY *  ProgramStringProc  )  [protected]

typedef osg::FragmentProgram::Extensions::void ( APIENTRY *  ProgramLocalParameter4fvProc  )  [protected]


Member Data Documentation

bool osg::FragmentProgram::Extensions::_isFragmentProgramSupported [protected]

BindProgramProc osg::FragmentProgram::Extensions::_glBindProgram [protected]

GenProgramsProc osg::FragmentProgram::Extensions::_glGenPrograms [protected]

DeleteProgramsProc osg::FragmentProgram::Extensions::_glDeletePrograms [protected]

ProgramStringProc osg::FragmentProgram::Extensions::_glProgramString [protected]

ProgramLocalParameter4fvProc osg::FragmentProgram::Extensions::_glProgramLocalParameter4fv [protected]


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