osg::Texture::Extensions Class Reference

Encapsulates queries of extension availability, obtains extension function pointers, and provides convinience wrappers for calling extension functions. More...

Inheritance diagram for osg::Texture::Extensions:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Extensions (unsigned int contextID)
 Extensions (const Extensions &rhs)
void lowestCommonDenominator (const Extensions &rhs)
void setupGLExtensions (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 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 setShadowSupported (bool flag)
bool isShadowSupported () const
void setShadowAmbientSupported (bool flag)
bool isShadowAmbientSupported () const
void setMaxTextureSize (GLint maxsize)
GLint maxTextureSize () const
void setNumTextureUnits (GLint nunits)
GLint numTextureUnits () const
bool isCompressedTexImage2DSupported () const
bool isCompressedTexSubImage2DSupported () 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 type, const GLvoid *data) const
void glGetCompressedTexImage (GLenum target, GLint level, GLvoid *data) const
bool isClientStorageSupported () const
bool isNonPowerOfTwoTextureSupported (GLenum filter) const
void setTextureIntegerSupported (bool flag)
bool isTextureIntegerSupported () 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(APIENTRY * TexParameterIivProc )(GLenum target, GLenum pname, const GLint *data)
typedef void(APIENTRY * TexParameterIuivProc )(GLenum target, GLenum pname, const GLuint *data)

Protected Member Functions

 ~Extensions ()
typedef void (APIENTRY *CompressedTexImage2DArbProc)(GLenum target
typedef void (APIENTRY *CompressedTexSubImage2DArbProc)(GLenum target
typedef void (APIENTRY *GetCompressedTexImageArbProc)(GLenum target

Protected Attributes

bool _isMultiTexturingSupported
bool _isTextureFilterAnisotropicSupported
bool _isTextureCompressionARBSupported
bool _isTextureCompressionS3TCSupported
bool _isTextureMirroredRepeatSupported
bool _isTextureEdgeClampSupported
bool _isTextureBorderClampSupported
bool _isGenerateMipMapSupported
bool _isShadowSupported
bool _isShadowAmbientSupported
bool _isClientStorageSupported
bool _isNonPowerOfTwoTextureMipMappedSupported
bool _isNonPowerOfTwoTextureNonMipMappedSupported
bool _isTextureIntegerEXTSupported
GLint _maxTextureSize
GLint _numTextureUnits
CompressedTexImage2DArbProc _glCompressedTexImage2D
CompressedTexSubImage2DArbProc _glCompressedTexSubImage2D
GetCompressedTexImageArbProc _glGetCompressedTexImage
TexParameterIivProc _glTexParameterIiv
TexParameterIuivProc _glTexParameterIuiv


Detailed Description

Encapsulates queries of extension availability, obtains extension function pointers, and provides convinience wrappers for calling extension functions.


Member Typedef Documentation

typedef GLint osg::Texture::Extensions::level [protected]

typedef GLint GLenum osg::Texture::Extensions::internalformat [protected]

typedef GLint GLenum GLsizei osg::Texture::Extensions::width [protected]

typedef GLint GLenum GLsizei GLsizei osg::Texture::Extensions::height [protected]

typedef GLint GLenum GLsizei GLsizei GLint osg::Texture::Extensions::border [protected]

typedef GLint GLenum GLsizei GLsizei GLint GLsizei osg::Texture::Extensions::imageSize [protected]

typedef GLint GLenum GLsizei GLsizei GLint GLsizei const GLvoid* osg::Texture::Extensions::data [protected]

typedef GLint osg::Texture::Extensions::level [protected]

typedef GLint GLint osg::Texture::Extensions::xoffset [protected]

typedef GLint GLint GLint osg::Texture::Extensions::yoffset [protected]

typedef GLint GLint GLint GLsizei osg::Texture::Extensions::width [protected]

typedef GLint GLint GLint GLsizei GLsizei osg::Texture::Extensions::height [protected]

typedef GLint GLint GLint GLsizei GLsizei GLenum osg::Texture::Extensions::format [protected]

typedef GLint GLint GLint GLsizei GLsizei GLenum GLsizei osg::Texture::Extensions::imageSize [protected]

typedef GLint GLint GLint GLsizei GLsizei GLenum GLsizei const GLvoid* osg::Texture::Extensions::data [protected]

typedef GLint osg::Texture::Extensions::level [protected]

typedef GLint GLvoid* osg::Texture::Extensions::data [protected]

typedef void(APIENTRY * osg::Texture::Extensions::TexParameterIivProc)(GLenum target, GLenum pname, const GLint *data) [protected]

typedef void(APIENTRY * osg::Texture::Extensions::TexParameterIuivProc)(GLenum target, GLenum pname, const GLuint *data) [protected]


Constructor & Destructor Documentation

osg::Texture::Extensions::Extensions ( unsigned int  contextID  ) 

osg::Texture::Extensions::Extensions ( const Extensions rhs  ) 

osg::Texture::Extensions::~Extensions (  )  [inline, protected]


Member Function Documentation

void osg::Texture::Extensions::lowestCommonDenominator ( const Extensions rhs  ) 

void osg::Texture::Extensions::setupGLExtensions ( unsigned int  contextID  ) 

void osg::Texture::Extensions::setMultiTexturingSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isMultiTexturingSupported (  )  const [inline]

void osg::Texture::Extensions::setTextureFilterAnisotropicSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isTextureFilterAnisotropicSupported (  )  const [inline]

void osg::Texture::Extensions::setTextureCompressionARBSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isTextureCompressionARBSupported (  )  const [inline]

void osg::Texture::Extensions::setTextureCompressionS3TCSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isTextureCompressionS3TCSupported (  )  const [inline]

void osg::Texture::Extensions::setTextureMirroredRepeatSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isTextureMirroredRepeatSupported (  )  const [inline]

void osg::Texture::Extensions::setTextureEdgeClampSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isTextureEdgeClampSupported (  )  const [inline]

void osg::Texture::Extensions::setTextureBorderClampSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isTextureBorderClampSupported (  )  const [inline]

void osg::Texture::Extensions::setGenerateMipMapSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isGenerateMipMapSupported (  )  const [inline]

void osg::Texture::Extensions::setShadowSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isShadowSupported (  )  const [inline]

void osg::Texture::Extensions::setShadowAmbientSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isShadowAmbientSupported (  )  const [inline]

void osg::Texture::Extensions::setMaxTextureSize ( GLint  maxsize  )  [inline]

GLint osg::Texture::Extensions::maxTextureSize (  )  const [inline]

void osg::Texture::Extensions::setNumTextureUnits ( GLint  nunits  )  [inline]

GLint osg::Texture::Extensions::numTextureUnits (  )  const [inline]

bool osg::Texture::Extensions::isCompressedTexImage2DSupported (  )  const [inline]

bool osg::Texture::Extensions::isCompressedTexSubImage2DSupported (  )  const [inline]

void osg::Texture::Extensions::glCompressedTexImage2D ( GLenum  target,
GLint  level,
GLenum  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLsizei  imageSize,
const GLvoid *  data 
) const

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

void osg::Texture::Extensions::glGetCompressedTexImage ( GLenum  target,
GLint  level,
GLvoid *  data 
) const

bool osg::Texture::Extensions::isClientStorageSupported (  )  const [inline]

bool osg::Texture::Extensions::isNonPowerOfTwoTextureSupported ( GLenum  filter  )  const [inline]

void osg::Texture::Extensions::setTextureIntegerSupported ( bool  flag  )  [inline]

bool osg::Texture::Extensions::isTextureIntegerSupported (  )  const [inline]

void osg::Texture::Extensions::glTexParameterIiv ( GLenum  target,
GLenum  pname,
const GLint *  data 
) const

void osg::Texture::Extensions::glTexParameterIuiv ( GLenum  target,
GLenum  pname,
const GLuint *  data 
) const

typedef osg::Texture::Extensions::void ( APIENTRY *  CompressedTexImage2DArbProc  )  [protected]

typedef osg::Texture::Extensions::void ( APIENTRY *  CompressedTexSubImage2DArbProc  )  [protected]

typedef osg::Texture::Extensions::void ( APIENTRY *  GetCompressedTexImageArbProc  )  [protected]


Member Data Documentation

bool osg::Texture::Extensions::_isMultiTexturingSupported [protected]

bool osg::Texture::Extensions::_isTextureFilterAnisotropicSupported [protected]

bool osg::Texture::Extensions::_isTextureCompressionARBSupported [protected]

bool osg::Texture::Extensions::_isTextureCompressionS3TCSupported [protected]

bool osg::Texture::Extensions::_isTextureMirroredRepeatSupported [protected]

bool osg::Texture::Extensions::_isTextureEdgeClampSupported [protected]

bool osg::Texture::Extensions::_isTextureBorderClampSupported [protected]

bool osg::Texture::Extensions::_isGenerateMipMapSupported [protected]

bool osg::Texture::Extensions::_isShadowSupported [protected]

bool osg::Texture::Extensions::_isShadowAmbientSupported [protected]

bool osg::Texture::Extensions::_isClientStorageSupported [protected]

bool osg::Texture::Extensions::_isNonPowerOfTwoTextureMipMappedSupported [protected]

bool osg::Texture::Extensions::_isNonPowerOfTwoTextureNonMipMappedSupported [protected]

bool osg::Texture::Extensions::_isTextureIntegerEXTSupported [protected]

GLint osg::Texture::Extensions::_maxTextureSize [protected]

GLint osg::Texture::Extensions::_numTextureUnits [protected]

CompressedTexImage2DArbProc osg::Texture::Extensions::_glCompressedTexImage2D [protected]

CompressedTexSubImage2DArbProc osg::Texture::Extensions::_glCompressedTexSubImage2D [protected]

GetCompressedTexImageArbProc osg::Texture::Extensions::_glGetCompressedTexImage [protected]

TexParameterIivProc osg::Texture::Extensions::_glTexParameterIiv [protected]

TexParameterIuivProc osg::Texture::Extensions::_glTexParameterIuiv [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:17 2007 for the OpenSceneGraph by doxygen 1.5.3.