Encapsulates queries of extension availability, obtains extension function pointers, and provides convenience wrappers for calling extension functions.
More...
Public Member Functions |
| | Extensions (unsigned int contextID) |
| void | setMultiTexturingSupported (bool flag) |
| bool | isMultiTexturingSupported () const |
| void | setTextureFilterAnisotropicSupported (bool flag) |
| bool | isTextureFilterAnisotropicSupported () const |
| void | setTextureCompressionARBSupported (bool flag) |
| bool | isTextureCompressionARBSupported () const |
| void | setTextureCompressionS3TCSupported (bool flag) |
| bool | isTextureCompressionS3TCSupported () const |
| void | setTextureCompressionPVRTC2BPPSupported (bool flag) |
| bool | isTextureCompressionPVRTC2BPPSupported () const |
| void | setTextureCompressionPVRTC4BPPSupported (bool flag) |
| bool | isTextureCompressionPVRTC4BPPSupported () const |
| void | setTextureCompressionETCSupported (bool flag) |
| bool | isTextureCompressionETCSupported () const |
| void | setTextureCompressionRGTCSupported (bool flag) |
| bool | isTextureCompressionRGTCSupported () const |
| void | setTextureCompressionPVRTCSupported (bool flag) |
| bool | isTextureCompressionPVRTCSupported () const |
| void | setTextureMirroredRepeatSupported (bool flag) |
| bool | isTextureMirroredRepeatSupported () const |
| void | setTextureEdgeClampSupported (bool flag) |
| bool | isTextureEdgeClampSupported () const |
| void | setTextureBorderClampSupported (bool flag) |
| bool | isTextureBorderClampSupported () const |
| void | setGenerateMipMapSupported (bool flag) |
| bool | isGenerateMipMapSupported () const |
| void | setTextureMultisampledSupported (bool flag) |
| bool | isTextureMultisampledSupported () const |
| void | setShadowSupported (bool flag) |
| bool | isShadowSupported () const |
| void | setShadowAmbientSupported (bool flag) |
| bool | isShadowAmbientSupported () const |
| void | setTextureMaxLevelSupported (bool flag) |
| bool | isTextureMaxLevelSupported () const |
| void | setMaxTextureSize (GLint maxsize) |
| GLint | maxTextureSize () const |
| void | setNumTextureUnits (GLint nunits) |
| GLint | numTextureUnits () const |
| bool | isCompressedTexImage2DSupported () const |
| bool | isCompressedTexSubImage2DSupported () const |
| bool | isClientStorageSupported () const |
| bool | isNonPowerOfTwoTextureSupported (GLenum filter) const |
| void | setTextureIntegerSupported (bool flag) |
| bool | isTextureIntegerSupported () const |
| void | glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) const |
| void | glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) const |
| void | glGetCompressedTexImage (GLenum target, GLint level, GLvoid *data) const |
| void | glTexImage2DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) const |
| void | glTexParameterIiv (GLenum target, GLenum pname, const GLint *data) const |
| void | glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *data) const |
Protected Types |
| typedef GLint | level |
| typedef GLint GLenum | internalformat |
| typedef GLint GLenum GLsizei | width |
typedef GLint GLenum GLsizei
GLsizei | height |
typedef GLint GLenum GLsizei
GLsizei GLint | border |
typedef GLint GLenum GLsizei
GLsizei GLint GLsizei | imageSize |
typedef GLint GLenum GLsizei
GLsizei GLint GLsizei const
GLvoid * | data |
| typedef GLint | level |
| typedef GLint GLint | xoffset |
| typedef GLint GLint GLint | yoffset |
| typedef GLint GLint GLint GLsizei | width |
typedef GLint GLint GLint
GLsizei GLsizei | height |
typedef GLint GLint GLint
GLsizei GLsizei GLenum | format |
typedef GLint GLint GLint
GLsizei GLsizei GLenum GLsizei | imageSize |
typedef GLint GLint GLint
GLsizei GLsizei GLenum GLsizei
const GLvoid * | data |
| typedef GLint | level |
| typedef GLint GLvoid * | data |
| typedef void(GL_APIENTRY * | TexImage2DMultisample )(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
| typedef void(GL_APIENTRY * | TexParameterIivProc )(GLenum target, GLenum pname, const GLint *data) |
| typedef void(GL_APIENTRY * | TexParameterIuivProc )(GLenum target, GLenum pname, const GLuint *data) |
Protected Member Functions |
| | ~Extensions () |
| typedef | void (GL_APIENTRY *CompressedTexImage2DArbProc)(GLenum target |
| typedef | void (GL_APIENTRY *CompressedTexSubImage2DArbProc)(GLenum target |
| typedef | void (GL_APIENTRY *GetCompressedTexImageArbProc)(GLenum target |
Protected Attributes |
| CompressedTexImage2DArbProc | _glCompressedTexImage2D |
| CompressedTexSubImage2DArbProc | _glCompressedTexSubImage2D |
| GetCompressedTexImageArbProc | _glGetCompressedTexImage |
| TexImage2DMultisample | _glTexImage2DMultisample |
| TexParameterIivProc | _glTexParameterIiv |
| TexParameterIuivProc | _glTexParameterIuiv |
| bool | _isMultiTexturingSupported |
| bool | _isTextureFilterAnisotropicSupported |
| bool | _isTextureCompressionARBSupported |
| bool | _isTextureCompressionS3TCSupported |
| bool | _isTextureCompressionPVRTC2BPPSupported |
| bool | _isTextureCompressionPVRTC4BPPSupported |
| bool | _isTextureCompressionETCSupported |
| bool | _isTextureCompressionRGTCSupported |
| bool | _isTextureCompressionPVRTCSupported |
| bool | _isTextureMirroredRepeatSupported |
| bool | _isTextureEdgeClampSupported |
| bool | _isTextureBorderClampSupported |
| bool | _isGenerateMipMapSupported |
| bool | _isTextureMultisampledSupported |
| bool | _isShadowSupported |
| bool | _isShadowAmbientSupported |
| bool | _isClientStorageSupported |
| bool | _isNonPowerOfTwoTextureMipMappedSupported |
| bool | _isNonPowerOfTwoTextureNonMipMappedSupported |
| bool | _isTextureIntegerEXTSupported |
| bool | _isTextureMaxLevelSupported |
| GLint | _maxTextureSize |
| GLint | _numTextureUnits |
Encapsulates queries of extension availability, obtains extension function pointers, and provides convenience wrappers for calling extension functions.