class SG_EXPORT osg::VertexProgram::Extensions

Extensions class which encapsulates the querring of extensions and associated function pointers, and provide convinience wrappers to check for the extensions or use the associated functions

Inheritance:


Public Methods

[more] Extensions()
[more] Extensions(const Extensions& rhs)
[more]void lowestCommonDenominator(const Extensions& rhs)
[more]void setupGLExtenions()
[more]void setVertexProgramSupported(bool flag)
[more]bool isVertexProgramSupported() const
[more]void glBindProgram(GLenum target, GLuint id) const
[more]void glGenPrograms(GLsizei n, GLuint* programs) const
[more]void glDeletePrograms(GLsizei n, GLuint* programs) const
[more]void glProgramString(GLenum target, GLenum format, GLsizei len, const void* string) const
[more]void glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const

Protected Fields

[more]bool _isVertexProgramSupported
[more]void* _glBindProgram
[more]void* _glGenPrograms
[more]void* _glDeletePrograms
[more]void* _glProgramString
[more]void* _glProgramLocalParameter4fv

Protected Methods

[more] ~Extensions()


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable OpenThreads::Mutex _refMutex
omutable int _refCount


Documentation

Extensions class which encapsulates the querring of extensions and associated function pointers, and provide convinience wrappers to check for the extensions or use the associated functions
o Extensions()

o Extensions(const Extensions& rhs)

ovoid lowestCommonDenominator(const Extensions& rhs)

ovoid setupGLExtenions()

ovoid setVertexProgramSupported(bool flag)

obool isVertexProgramSupported() const

ovoid glBindProgram(GLenum target, GLuint id) const

ovoid glGenPrograms(GLsizei n, GLuint* programs) const

ovoid glDeletePrograms(GLsizei n, GLuint* programs) const

ovoid glProgramString(GLenum target, GLenum format, GLsizei len, const void* string) const

ovoid glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const

o ~Extensions()

obool _isVertexProgramSupported

ovoid* _glBindProgram

ovoid* _glGenPrograms

ovoid* _glDeletePrograms

ovoid* _glProgramString

ovoid* _glProgramLocalParameter4fv


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.