## 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 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 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 setMaxTextureSize(GLint maxsize)
GLint maxTextureSize() const
bool isCompressedTexImage2DSupported() const
void setCompressedTexImage2DProc(void* ptr)
void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const
void setCompressedTexSubImage2DProc(void* ptr)
void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei type, const GLvoid* data) const
void setGetCompressedTexImageProc(void* ptr)
void glGetCompressedTexImage(GLenum target, GLint level, GLvoid* data) const

### Protected Fields

bool _isMultiTexturingSupported
bool _isTextureFilterAnisotropicSupported
bool _isTextureCompressionARBSupported
bool _isTextureCompressionS3TCSupported
bool _isTextureMirroredRepeatSupported
bool _isTextureEdgeClampSupported
bool _isTextureBorderClampSupported
bool _isGenerateMipMapSupported
GLint _maxTextureSize
void* _glCompressedTexImage2D
void* _glCompressedTexSubImage2D
void* _glGetCompressedTexImage

### Protected Methods

~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 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 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 setMaxTextureSize(GLint maxsize)`

`GLint maxTextureSize() const`

`bool isCompressedTexImage2DSupported() const`

`void setCompressedTexImage2DProc(void* ptr)`

`void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const`

`void setCompressedTexSubImage2DProc(void* ptr)`

`void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei type, const GLvoid* data) const`

`void setGetCompressedTexImageProc(void* ptr)`

`void glGetCompressedTexImage(GLenum target, GLint level, GLvoid* data) const`

`~Extensions()`

`bool _isMultiTexturingSupported`

`bool _isTextureFilterAnisotropicSupported`

`bool _isTextureCompressionARBSupported`

`bool _isTextureCompressionS3TCSupported`

`bool _isTextureMirroredRepeatSupported`

`bool _isTextureEdgeClampSupported`

`bool _isTextureBorderClampSupported`

`bool _isGenerateMipMapSupported`

`GLint _maxTextureSize`

`void* _glCompressedTexImage2D`

`void* _glCompressedTexSubImage2D`

`void* _glGetCompressedTexImage`

This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java

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