class SG_EXPORT osg::Drawable::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 setSecondaryColorSupported(bool flag)
[more]bool isSecondaryColorSupported() const
[more]void setFogCoordSupported(bool flag)
[more]bool isFogCoordSupported() const
[more]void setMultiTexSupported(bool flag)
[more]bool isMultiTexSupported() const
[more]void setOcclusionQuerySupported(bool flag)
[more]bool isOcclusionQuerySupported() const
[more]void setARBOcclusionQuerySupported(bool flag)
[more]bool isARBOcclusionQuerySupported() const
[more]void glSecondaryColor3ubv(const GLubyte* coord) const
[more]void glSecondaryColor3fv(const GLfloat* coord) const
[more]void glFogCoordfv(const GLfloat* coord) const
[more]void glMultiTexCoord1f(GLenum target, GLfloat coord) const
[more]void glMultiTexCoord2fv(GLenum target, const GLfloat* coord) const
[more]void glMultiTexCoord3fv(GLenum target, const GLfloat* coord) const
[more]void glMultiTexCoord4fv(GLenum target, const GLfloat* coord) const
[more]void glVertexAttrib1s(unsigned int index, GLshort s) const
[more]void glVertexAttrib1f(unsigned int index, GLfloat f) const
[more]void glVertexAttrib2fv(unsigned int index, const GLfloat* v) const
[more]void glVertexAttrib3fv(unsigned int index, const GLfloat* v) const
[more]void glVertexAttrib4fv(unsigned int index, const GLfloat* v) const
[more]void glVertexAttrib4ubv(unsigned int index, const GLubyte* v) const
[more]void glVertexAttrib4Nubv(unsigned int index, const GLubyte* v) const
[more]void glGenBuffers(GLsizei n, GLuint* buffers) const
[more]void glBindBuffer(GLenum target, GLuint buffer) const
[more]void glBufferData(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) const
[more]void glBufferSubData(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) const
[more]void glDeleteBuffers(GLsizei n, const GLuint* buffers) const
[more]void glGenOcclusionQueries( GLsizei n, GLuint* ids ) const
[more]void glDeleteOcclusionQueries( GLsizei n, const GLuint* ids ) const
[more]GLboolean glIsOcclusionQuery( GLuint id ) const
[more]void glBeginOcclusionQuery( GLuint id ) const
[more]void glEndOcclusionQuery() const
[more]void glGetOcclusionQueryiv( GLuint id, GLenum pname, GLint* params ) const
[more]void glGetOcclusionQueryuiv( GLuint id, GLenum pname, GLuint* params ) const
[more]void glGetQueryiv(GLenum target, GLenum pname, GLint* params) const
[more]void glGenQueries(GLsizei n, GLuint* ids) const
[more]void glBeginQuery(GLenum target, GLuint id) const
[more]void glEndQuery(GLenum target) const
[more]GLboolean glIsQuery(GLuint id) const
[more]void glGetQueryObjectiv(GLuint id, GLenum pname, GLint* params) const
[more]void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint* params) const

Protected Fields

[more]bool _isVertexProgramSupported
[more]bool _isSecondaryColorSupported
[more]bool _isFogCoordSupported
[more]bool _isMultiTexSupported
[more]bool _isOcclusionQuerySupported
[more]bool _isARBOcclusionQuerySupported
[more]FogCoordProc _glFogCoordfv
[more]SecondaryColor3ubvProc _glSecondaryColor3ubv
[more]SecondaryColor3fvProc _glSecondaryColor3fv
[more]VertexAttrib1sProc _glVertexAttrib1s
[more]VertexAttrib1fProc _glVertexAttrib1f
[more]VertexAttribfvProc _glVertexAttrib2fv
[more]VertexAttribfvProc _glVertexAttrib3fv
[more]VertexAttribfvProc _glVertexAttrib4fv
[more]VertexAttribubvProc _glVertexAttrib4ubv
[more]VertexAttribubvProc _glVertexAttrib4Nubv
[more]MultiTexCoord1fProc _glMultiTexCoord1f
[more]MultiTexCoordfvProc _glMultiTexCoord2fv
[more]MultiTexCoordfvProc _glMultiTexCoord3fv
[more]MultiTexCoordfvProc _glMultiTexCoord4fv
[more]GenBuffersProc _glGenBuffers
[more]BindBufferProc _glBindBuffer
[more]BufferDataProc _glBufferData
[more]BufferSubDataProc _glBufferSubData
[more]DeleteBuffersProc _glDeleteBuffers
[more]GenOcclusionQueriesProc _glGenOcclusionQueries
[more]DeleteOcclusionQueriesProc _glDeleteOcclusionQueries
[more]IsOcclusionQueryProc _glIsOcclusionQuery
[more]BeginOcclusionQueryProc _glBeginOcclusionQuery
[more]EndOcclusionQueryProc _glEndOcclusionQuery
[more]GetOcclusionQueryivProc _glGetOcclusionQueryiv
[more]GetOcclusionQueryuivProc _glGetOcclusionQueryuiv
[more]GenQueriesProc _gl_gen_queries_arb
[more]DeleteQueriesProc _gl_delete_queries_arb
[more]IsQueryProc _gl_is_query_arb
[more]BeginQueryProc _gl_begin_query_arb
[more]EndQueryProc _gl_end_query_arb
[more]GetQueryivProc _gl_get_queryiv_arb
[more]GetQueryObjectivProc _gl_get_query_objectiv_arb
[more]GetQueryObjectuivProc _gl_get_query_objectuiv_arb

Protected Methods

[more]typedef void (APIENTRY * FogCoordProc)(const GLfloat* coord)
[more]typedef void (APIENTRY * VertexAttrib1sProc)(unsigned int index, GLshort s)
[more]typedef void (APIENTRY * VertexAttrib1fProc)(unsigned int index, GLfloat f)
[more]typedef void (APIENTRY * VertexAttribfvProc)(unsigned int index, const GLfloat* v)
[more]typedef void (APIENTRY * VertexAttribubvProc)(unsigned int index, const GLubyte* v)
[more]typedef void (APIENTRY * SecondaryColor3ubvProc)(const GLubyte* coord)
[more]typedef void (APIENTRY * SecondaryColor3fvProc)(const GLfloat* coord)
[more]typedef void (APIENTRY * MultiTexCoord1fProc)(GLenum target, GLfloat coord)
[more]typedef void (APIENTRY * MultiTexCoordfvProc)(GLenum target, const GLfloat* coord)
[more]typedef void (APIENTRY * GenBuffersProc)(GLsizei n, GLuint* buffers)
[more]typedef void (APIENTRY * BindBufferProc)(GLenum target, GLuint buffer)
[more]typedef void (APIENTRY * BufferDataProc)(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage)
[more]typedef void (APIENTRY * BufferSubDataProc)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data)
[more]typedef void (APIENTRY * DeleteBuffersProc)(GLsizei n, const GLuint* buffers)
[more]typedef void (APIENTRY * GenOcclusionQueriesProc)( GLsizei n, GLuint* ids )
[more]typedef void (APIENTRY * DeleteOcclusionQueriesProc)( GLsizei n, const GLuint* ids )
[more]typedef GLboolean (APIENTRY * IsOcclusionQueryProc)( GLuint id )
[more]typedef void (APIENTRY * BeginOcclusionQueryProc)( GLuint id )
[more]typedef void (APIENTRY * EndOcclusionQueryProc)()
[more]typedef void (APIENTRY * GetOcclusionQueryivProc)( GLuint id, GLenum pname, GLint* params )
[more]typedef void (APIENTRY * GetOcclusionQueryuivProc)( GLuint id, GLenum pname, GLuint* params )
[more]typedef void (APIENTRY *GenQueriesProc)(GLsizei n, GLuint* ids)
[more]typedef void (APIENTRY *DeleteQueriesProc)(GLsizei n, const GLuint* ids)
[more]typedef GLboolean (APIENTRY *IsQueryProc)(GLuint id)
[more]typedef void (APIENTRY *BeginQueryProc)(GLenum target, GLuint id)
[more]typedef void (APIENTRY *EndQueryProc)(GLenum target)
[more]typedef void (APIENTRY *GetQueryivProc)(GLenum target, GLenum pname, GLint* params)
[more]typedef void (APIENTRY *GetQueryObjectivProc)(GLuint id, GLenum pname, GLint* params)
[more]typedef void (APIENTRY *GetQueryObjectuivProc)(GLuint id, GLenum pname, GLuint* params)
[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 setSecondaryColorSupported(bool flag)

obool isSecondaryColorSupported() const

ovoid setFogCoordSupported(bool flag)

obool isFogCoordSupported() const

ovoid setMultiTexSupported(bool flag)

obool isMultiTexSupported() const

ovoid setOcclusionQuerySupported(bool flag)

obool isOcclusionQuerySupported() const

ovoid setARBOcclusionQuerySupported(bool flag)

obool isARBOcclusionQuerySupported() const

ovoid glSecondaryColor3ubv(const GLubyte* coord) const

ovoid glSecondaryColor3fv(const GLfloat* coord) const

ovoid glFogCoordfv(const GLfloat* coord) const

ovoid glMultiTexCoord1f(GLenum target, GLfloat coord) const

ovoid glMultiTexCoord2fv(GLenum target, const GLfloat* coord) const

ovoid glMultiTexCoord3fv(GLenum target, const GLfloat* coord) const

ovoid glMultiTexCoord4fv(GLenum target, const GLfloat* coord) const

ovoid glVertexAttrib1s(unsigned int index, GLshort s) const

ovoid glVertexAttrib1f(unsigned int index, GLfloat f) const

ovoid glVertexAttrib2fv(unsigned int index, const GLfloat* v) const

ovoid glVertexAttrib3fv(unsigned int index, const GLfloat* v) const

ovoid glVertexAttrib4fv(unsigned int index, const GLfloat* v) const

ovoid glVertexAttrib4ubv(unsigned int index, const GLubyte* v) const

ovoid glVertexAttrib4Nubv(unsigned int index, const GLubyte* v) const

ovoid glGenBuffers(GLsizei n, GLuint* buffers) const

ovoid glBindBuffer(GLenum target, GLuint buffer) const

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

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

ovoid glDeleteBuffers(GLsizei n, const GLuint* buffers) const

ovoid glGenOcclusionQueries( GLsizei n, GLuint* ids ) const

ovoid glDeleteOcclusionQueries( GLsizei n, const GLuint* ids ) const

oGLboolean glIsOcclusionQuery( GLuint id ) const

ovoid glBeginOcclusionQuery( GLuint id ) const

ovoid glEndOcclusionQuery() const

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

ovoid glGetOcclusionQueryuiv( GLuint id, GLenum pname, GLuint* params ) const

ovoid glGetQueryiv(GLenum target, GLenum pname, GLint* params) const

ovoid glGenQueries(GLsizei n, GLuint* ids) const

ovoid glBeginQuery(GLenum target, GLuint id) const

ovoid glEndQuery(GLenum target) const

oGLboolean glIsQuery(GLuint id) const

ovoid glGetQueryObjectiv(GLuint id, GLenum pname, GLint* params) const

ovoid glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint* params) const

otypedef void (APIENTRY * FogCoordProc)(const GLfloat* coord)

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

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

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

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

otypedef void (APIENTRY * SecondaryColor3ubvProc)(const GLubyte* coord)

otypedef void (APIENTRY * SecondaryColor3fvProc)(const GLfloat* coord)

otypedef void (APIENTRY * MultiTexCoord1fProc)(GLenum target, GLfloat coord)

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

otypedef void (APIENTRY * GenBuffersProc)(GLsizei n, GLuint* buffers)

otypedef void (APIENTRY * BindBufferProc)(GLenum target, GLuint buffer)

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

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

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

otypedef void (APIENTRY * GenOcclusionQueriesProc)( GLsizei n, GLuint* ids )

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

otypedef GLboolean (APIENTRY * IsOcclusionQueryProc)( GLuint id )

otypedef void (APIENTRY * BeginOcclusionQueryProc)( GLuint id )

otypedef void (APIENTRY * EndOcclusionQueryProc)()

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

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

otypedef void (APIENTRY *GenQueriesProc)(GLsizei n, GLuint* ids)

otypedef void (APIENTRY *DeleteQueriesProc)(GLsizei n, const GLuint* ids)

otypedef GLboolean (APIENTRY *IsQueryProc)(GLuint id)

otypedef void (APIENTRY *BeginQueryProc)(GLenum target, GLuint id)

otypedef void (APIENTRY *EndQueryProc)(GLenum target)

otypedef void (APIENTRY *GetQueryivProc)(GLenum target, GLenum pname, GLint* params)

otypedef void (APIENTRY *GetQueryObjectivProc)(GLuint id, GLenum pname, GLint* params)

otypedef void (APIENTRY *GetQueryObjectuivProc)(GLuint id, GLenum pname, GLuint* params)

o ~Extensions()

obool _isVertexProgramSupported

obool _isSecondaryColorSupported

obool _isFogCoordSupported

obool _isMultiTexSupported

obool _isOcclusionQuerySupported

obool _isARBOcclusionQuerySupported

oFogCoordProc _glFogCoordfv

oSecondaryColor3ubvProc _glSecondaryColor3ubv

oSecondaryColor3fvProc _glSecondaryColor3fv

oVertexAttrib1sProc _glVertexAttrib1s

oVertexAttrib1fProc _glVertexAttrib1f

oVertexAttribfvProc _glVertexAttrib2fv

oVertexAttribfvProc _glVertexAttrib3fv

oVertexAttribfvProc _glVertexAttrib4fv

oVertexAttribubvProc _glVertexAttrib4ubv

oVertexAttribubvProc _glVertexAttrib4Nubv

oMultiTexCoord1fProc _glMultiTexCoord1f

oMultiTexCoordfvProc _glMultiTexCoord2fv

oMultiTexCoordfvProc _glMultiTexCoord3fv

oMultiTexCoordfvProc _glMultiTexCoord4fv

oGenBuffersProc _glGenBuffers

oBindBufferProc _glBindBuffer

oBufferDataProc _glBufferData

oBufferSubDataProc _glBufferSubData

oDeleteBuffersProc _glDeleteBuffers

oGenOcclusionQueriesProc _glGenOcclusionQueries

oDeleteOcclusionQueriesProc _glDeleteOcclusionQueries

oIsOcclusionQueryProc _glIsOcclusionQuery

oBeginOcclusionQueryProc _glBeginOcclusionQuery

oEndOcclusionQueryProc _glEndOcclusionQuery

oGetOcclusionQueryivProc _glGetOcclusionQueryiv

oGetOcclusionQueryuivProc _glGetOcclusionQueryuiv

oGenQueriesProc _gl_gen_queries_arb

oDeleteQueriesProc _gl_delete_queries_arb

oIsQueryProc _gl_is_query_arb

oBeginQueryProc _gl_begin_query_arb

oEndQueryProc _gl_end_query_arb

oGetQueryivProc _gl_get_queryiv_arb

oGetQueryObjectivProc _gl_get_query_objectiv_arb

oGetQueryObjectuivProc _gl_get_query_objectuiv_arb


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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