## class SG_EXPORT 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

Extensions()
Extensions(const Extensions& rhs)
void lowestCommonDenominator(const Extensions& rhs)
void setupGLExtenions()
void setVertexProgramSupported(bool flag)
bool isVertexProgramSupported() const
void setSecondaryColorSupported(bool flag)
bool isSecondaryColorSupported() const
void setFogCoordSupported(bool flag)
bool isFogCoordSupported() const
void setMultiTexSupported(bool flag)
bool isMultiTexSupported() const
void setOcclusionQuerySupported(bool flag)
bool isOcclusionQuerySupported() const
void glSecondaryColor3ubv(const GLubyte* coord) const
void glSecondaryColor3fv(const GLfloat* coord) const
void glFogCoordfv(const GLfloat* coord) const
void glMultiTexCoord1f(GLenum target, GLfloat coord) const
void glMultiTexCoord2fv(GLenum target, const GLfloat* coord) const
void glMultiTexCoord3fv(GLenum target, const GLfloat* coord) const
void glMultiTexCoord4fv(GLenum target, const GLfloat* coord) const
void glVertexAttrib1s(unsigned int index, GLshort s) const
void glVertexAttrib1f(unsigned int index, GLfloat f) const
void glVertexAttrib2fv(unsigned int index, const GLfloat* v) const
void glVertexAttrib3fv(unsigned int index, const GLfloat* v) const
void glVertexAttrib4fv(unsigned int index, const GLfloat* v) const
void glVertexAttrib4ubv(unsigned int index, const GLubyte* v) const
void glVertexAttrib4Nubv(unsigned int index, const GLubyte* v) const
void glGenBuffers(GLsizei n, GLuint* buffers) const
void glBindBuffer(GLenum target, GLuint buffer) const
void glBufferData(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) const
void glBufferSubData(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) const
void glDeleteBuffers(GLsizei n, const GLuint* buffers) const
void glGenOcclusionQueries( GLsizei n, GLuint* ids ) const
void glDeleteOcclusionQueries( GLsizei n, const GLuint* ids ) const
GLboolean glIsOcclusionQuery( GLuint id ) const
void glBeginOcclusionQuery( GLuint id ) const
void glEndOcclusionQuery() const
void glGetOcclusionQueryiv( GLuint id, GLenum pname, GLint* params ) const
void glGetOcclusionQueryuiv( GLuint id, GLenum pname, GLuint* params ) const

### Protected Fields

bool _isVertexProgramSupported
bool _isSecondaryColorSupported
bool _isFogCoordSupported
bool _isMultiTexSupported
bool _isOcclusionQuerySupported
FogCoordProc _glFogCoordfv
SecondaryColor3ubvProc _glSecondaryColor3ubv
SecondaryColor3fvProc _glSecondaryColor3fv
VertexAttrib1sProc _glVertexAttrib1s
VertexAttrib1fProc _glVertexAttrib1f
VertexAttribfvProc _glVertexAttrib2fv
VertexAttribfvProc _glVertexAttrib3fv
VertexAttribfvProc _glVertexAttrib4fv
VertexAttribubvProc _glVertexAttrib4ubv
VertexAttribubvProc _glVertexAttrib4Nubv
MultiTexCoord1fProc _glMultiTexCoord1f
MultiTexCoordfvProc _glMultiTexCoord2fv
MultiTexCoordfvProc _glMultiTexCoord3fv
MultiTexCoordfvProc _glMultiTexCoord4fv
GenBuffersProc _glGenBuffers
BindBufferProc _glBindBuffer
BufferDataProc _glBufferData
BufferSubDataProc _glBufferSubData
DeleteBuffersProc _glDeleteBuffers
GenOcclusionQueriesProc _glGenOcclusionQueries
DeleteOcclusionQueriesProc _glDeleteOcclusionQueries
IsOcclusionQueryProc _glIsOcclusionQuery
BeginOcclusionQueryProc _glBeginOcclusionQuery
EndOcclusionQueryProc _glEndOcclusionQuery
GetOcclusionQueryivProc _glGetOcclusionQueryiv
GetOcclusionQueryuivProc _glGetOcclusionQueryuiv

### Protected Methods

typedef void (APIENTRY * FogCoordProc)(const GLfloat* coord)
typedef void (APIENTRY * VertexAttrib1sProc)(unsigned int index, GLshort s)
typedef void (APIENTRY * VertexAttrib1fProc)(unsigned int index, GLfloat f)
typedef void (APIENTRY * VertexAttribfvProc)(unsigned int index, const GLfloat* v)
typedef void (APIENTRY * VertexAttribubvProc)(unsigned int index, const GLubyte* v)
typedef void (APIENTRY * SecondaryColor3ubvProc)(const GLubyte* coord)
typedef void (APIENTRY * SecondaryColor3fvProc)(const GLfloat* coord)
typedef void (APIENTRY * MultiTexCoord1fProc)(GLenum target, GLfloat coord)
typedef void (APIENTRY * MultiTexCoordfvProc)(GLenum target, const GLfloat* coord)
typedef void (APIENTRY * GenBuffersProc)(GLsizei n, GLuint* buffers)
typedef void (APIENTRY * BindBufferProc)(GLenum target, GLuint buffer)
typedef void (APIENTRY * BufferDataProc)(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage)
typedef void (APIENTRY * BufferSubDataProc)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data)
typedef void (APIENTRY * DeleteBuffersProc)(GLsizei n, const GLuint* buffers)
typedef void (APIENTRY * GenOcclusionQueriesProc)( GLsizei n, GLuint* ids )
typedef void (APIENTRY * DeleteOcclusionQueriesProc)( GLsizei n, const GLuint* ids )
typedef GLboolean (APIENTRY * IsOcclusionQueryProc)( GLuint id )
typedef void (APIENTRY * BeginOcclusionQueryProc)( GLuint id )
typedef void (APIENTRY * EndOcclusionQueryProc)()
typedef void (APIENTRY * GetOcclusionQueryivProc)( GLuint id, GLenum pname, GLint* params )
typedef void (APIENTRY * GetOcclusionQueryuivProc)( GLuint id, GLenum pname, GLuint* params )
~Extensions()

### Inherited from Referenced:

### Public Methods

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

### Protected Fields

mutable 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

`Extensions()`

`Extensions(const Extensions& rhs)`

`void lowestCommonDenominator(const Extensions& rhs)`

`void setupGLExtenions()`

`void setVertexProgramSupported(bool flag)`

`bool isVertexProgramSupported() const`

`void setSecondaryColorSupported(bool flag)`

`bool isSecondaryColorSupported() const`

`void setFogCoordSupported(bool flag)`

`bool isFogCoordSupported() const`

`void setMultiTexSupported(bool flag)`

`bool isMultiTexSupported() const`

`void setOcclusionQuerySupported(bool flag)`

`bool isOcclusionQuerySupported() const`

`void glSecondaryColor3ubv(const GLubyte* coord) const`

`void glSecondaryColor3fv(const GLfloat* coord) const`

`void glFogCoordfv(const GLfloat* coord) const`

`void glMultiTexCoord1f(GLenum target, GLfloat coord) const`

`void glMultiTexCoord2fv(GLenum target, const GLfloat* coord) const`

`void glMultiTexCoord3fv(GLenum target, const GLfloat* coord) const`

`void glMultiTexCoord4fv(GLenum target, const GLfloat* coord) const`

`void glVertexAttrib1s(unsigned int index, GLshort s) const`

`void glVertexAttrib1f(unsigned int index, GLfloat f) const`

`void glVertexAttrib2fv(unsigned int index, const GLfloat* v) const`

`void glVertexAttrib3fv(unsigned int index, const GLfloat* v) const`

`void glVertexAttrib4fv(unsigned int index, const GLfloat* v) const`

`void glVertexAttrib4ubv(unsigned int index, const GLubyte* v) const`

`void glVertexAttrib4Nubv(unsigned int index, const GLubyte* v) const`

`void glGenBuffers(GLsizei n, GLuint* buffers) const`

`void glBindBuffer(GLenum target, GLuint buffer) const`

`void glBufferData(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) const`

`void glBufferSubData(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) const`

`void glDeleteBuffers(GLsizei n, const GLuint* buffers) const`

`void glGenOcclusionQueries( GLsizei n, GLuint* ids ) const`

`void glDeleteOcclusionQueries( GLsizei n, const GLuint* ids ) const`

`GLboolean glIsOcclusionQuery( GLuint id ) const`

`void glBeginOcclusionQuery( GLuint id ) const`

`void glEndOcclusionQuery() const`

`void glGetOcclusionQueryiv( GLuint id, GLenum pname, GLint* params ) const`

`void glGetOcclusionQueryuiv( GLuint id, GLenum pname, GLuint* params ) const`

`typedef void (APIENTRY * FogCoordProc)(const GLfloat* coord)`

`typedef void (APIENTRY * VertexAttrib1sProc)(unsigned int index, GLshort s)`

`typedef void (APIENTRY * VertexAttrib1fProc)(unsigned int index, GLfloat f)`

`typedef void (APIENTRY * VertexAttribfvProc)(unsigned int index, const GLfloat* v)`

`typedef void (APIENTRY * VertexAttribubvProc)(unsigned int index, const GLubyte* v)`

`typedef void (APIENTRY * SecondaryColor3ubvProc)(const GLubyte* coord)`

`typedef void (APIENTRY * SecondaryColor3fvProc)(const GLfloat* coord)`

`typedef void (APIENTRY * MultiTexCoord1fProc)(GLenum target, GLfloat coord)`

`typedef void (APIENTRY * MultiTexCoordfvProc)(GLenum target, const GLfloat* coord)`

`typedef void (APIENTRY * GenBuffersProc)(GLsizei n, GLuint* buffers)`

`typedef void (APIENTRY * BindBufferProc)(GLenum target, GLuint buffer)`

`typedef void (APIENTRY * BufferDataProc)(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage)`

`typedef void (APIENTRY * BufferSubDataProc)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data)`

`typedef void (APIENTRY * DeleteBuffersProc)(GLsizei n, const GLuint* buffers)`

`typedef void (APIENTRY * GenOcclusionQueriesProc)( GLsizei n, GLuint* ids )`

`typedef void (APIENTRY * DeleteOcclusionQueriesProc)( GLsizei n, const GLuint* ids )`

`typedef GLboolean (APIENTRY * IsOcclusionQueryProc)( GLuint id )`

`typedef void (APIENTRY * BeginOcclusionQueryProc)( GLuint id )`

`typedef void (APIENTRY * EndOcclusionQueryProc)()`

`typedef void (APIENTRY * GetOcclusionQueryivProc)( GLuint id, GLenum pname, GLint* params )`

`typedef void (APIENTRY * GetOcclusionQueryuivProc)( GLuint id, GLenum pname, GLuint* params )`

`~Extensions()`

`bool _isVertexProgramSupported`

`bool _isSecondaryColorSupported`

`bool _isFogCoordSupported`

`bool _isMultiTexSupported`

`bool _isOcclusionQuerySupported`

`FogCoordProc _glFogCoordfv`

`SecondaryColor3ubvProc _glSecondaryColor3ubv`

`SecondaryColor3fvProc _glSecondaryColor3fv`

`VertexAttrib1sProc _glVertexAttrib1s`

`VertexAttrib1fProc _glVertexAttrib1f`

`VertexAttribfvProc _glVertexAttrib2fv`

`VertexAttribfvProc _glVertexAttrib3fv`

`VertexAttribfvProc _glVertexAttrib4fv`

`VertexAttribubvProc _glVertexAttrib4ubv`

`VertexAttribubvProc _glVertexAttrib4Nubv`

`MultiTexCoord1fProc _glMultiTexCoord1f`

`MultiTexCoordfvProc _glMultiTexCoord2fv`

`MultiTexCoordfvProc _glMultiTexCoord3fv`

`MultiTexCoordfvProc _glMultiTexCoord4fv`

`GenBuffersProc _glGenBuffers`

`BindBufferProc _glBindBuffer`

`BufferDataProc _glBufferData`

`BufferSubDataProc _glBufferSubData`

`DeleteBuffersProc _glDeleteBuffers`

`GenOcclusionQueriesProc _glGenOcclusionQueries`

`DeleteOcclusionQueriesProc _glDeleteOcclusionQueries`

`IsOcclusionQueryProc _glIsOcclusionQuery`

`BeginOcclusionQueryProc _glBeginOcclusionQuery`

`EndOcclusionQueryProc _glEndOcclusionQuery`

`GetOcclusionQueryivProc _glGetOcclusionQueryiv`

`GetOcclusionQueryuivProc _glGetOcclusionQueryuiv`

This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java

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