osg::Texture2DArray::Extensions Class Reference

Extensions class which encapsulates the querying of extensions and associated function pointers, and provides convinience wrappers to check for the extensions or use the associated functions. More...

Inheritance diagram for osg::Texture2DArray::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 setTexture2DArraySupported (bool flag)
bool isTexture2DArraySupported () const
void setTexture3DSupported (bool flag)
bool isTexture3DSupported () const
void setMaxLayerCount (GLint count)
GLint maxLayerCount () const
void setMax2DSize (GLint size)
GLint max2DSize () const
void glTexImage3D (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) const
void glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) const
void glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) const
bool isCompressedTexImage3DSupported () const
void glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) const
bool isCompressedTexSubImage3DSupported () const
void glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *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
GLsizei 
depth
typedef GLint GLenum
GLsizei GLsizei
GLsizei GLint 
border
typedef GLint GLenum
GLsizei GLsizei
GLsizei GLint GLenum 
format
typedef GLint GLenum
GLsizei GLsizei
GLsizei GLint GLenum
GLenum 
type
typedef GLint GLenum
GLsizei GLsizei
GLsizei GLint GLenum
GLenum const GLvoid * 
pixels
typedef GLint level
typedef GLint GLint xoffset
typedef GLint GLint GLint yoffset
typedef GLint GLint
GLint GLint 
zoffset
typedef GLint GLint
GLint GLint GLsizei 
width
typedef GLint GLint
GLint GLint GLsizei
GLsizei 
height
typedef GLint GLint
GLint GLint GLsizei
GLsizei GLsizei 
depth
typedef GLint GLint
GLint GLint GLsizei
GLsizei GLsizei
GLenum 
format
typedef GLint GLint
GLint GLint GLsizei
GLsizei GLsizei
GLenum GLenum 
type
typedef GLint GLint
GLint GLint GLsizei
GLsizei GLsizei
GLenum GLenum const
GLvoid * 
pixels
typedef GLint level
typedef GLint GLenum internalformat
typedef GLint GLenum
GLsizei 
width
typedef GLint GLenum
GLsizei GLsizei 
height
typedef GLint GLenum
GLsizei GLsizei
GLsizei 
depth
typedef GLint GLenum
GLsizei GLsizei
GLsizei GLint 
border
typedef GLint GLenum
GLsizei GLsizei
GLsizei GLint
GLsizei 
imageSize
typedef GLint GLenum
GLsizei GLsizei
GLsizei GLint
GLsizei const GLvoid * 
data
typedef GLint level
typedef GLint GLint xoffset
typedef GLint GLint GLint yoffset
typedef GLint GLint
GLint GLint 
zoffset
typedef GLint GLint
GLint GLint GLsizei 
width
typedef GLint GLint
GLint GLint GLsizei
GLsizei 
height
typedef GLint GLint
GLint GLint GLsizei
GLsizei GLsizei 
depth
typedef GLint GLint
GLint GLint GLsizei
GLsizei GLsizei
GLenum 
format
typedef GLint GLint
GLint GLint GLsizei
GLsizei GLsizei
GLenum GLsizei 
imageSize
typedef GLint GLint
GLint GLint GLsizei
GLsizei GLsizei
GLenum GLsizei const
GLvoid * 
data
typedef GLint level
typedef GLint GLint xoffset
typedef GLint GLint GLint yoffset
typedef GLint GLint
GLint GLint 
zoffset
typedef GLint GLint
GLint GLint GLint 
x
typedef GLint GLint
GLint GLint GLint
GLint 
y
typedef GLint GLint
GLint GLint GLint
GLint GLsizei 
width
typedef GLint GLint
GLint GLint GLint
GLint GLsizei
GLsizei 
height

Protected Member Functions

 ~Extensions ()
typedef void (APIENTRY *GLTexImage3DProc)(GLenum target
typedef void (APIENTRY *GLTexSubImage3DProc)(GLenum target
typedef void (APIENTRY *CompressedTexImage3DArbProc)(GLenum target
typedef void (APIENTRY *CompressedTexSubImage3DArbProc)(GLenum target
typedef void (APIENTRY *GLCopyTexSubImageProc)(GLenum target

Protected Attributes

bool _isTexture2DArraySupported
bool _isTexture3DSupported
GLint _maxLayerCount
GLint _max2DSize
GLTexImage3DProc _glTexImage3D
GLTexSubImage3DProc _glTexSubImage3D
CompressedTexImage3DArbProc _glCompressedTexImage3D
CompressedTexSubImage3DArbProc _glCompressedTexSubImage3D
GLCopyTexSubImageProc _glCopyTexSubImage3D


Detailed Description

Extensions class which encapsulates the querying of extensions and associated function pointers, and provides convinience wrappers to check for the extensions or use the associated functions.

Member Typedef Documentation

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

typedef GLint GLenum osg::Texture2DArray::Extensions::internalFormat [protected]

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

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

typedef GLint GLenum GLsizei GLsizei GLsizei osg::Texture2DArray::Extensions::depth [protected]

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

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

typedef GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum osg::Texture2DArray::Extensions::type [protected]

typedef GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid* osg::Texture2DArray::Extensions::pixels [protected]

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

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

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

typedef GLint GLint GLint GLint osg::Texture2DArray::Extensions::zoffset [protected]

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

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

typedef GLint GLint GLint GLint GLsizei GLsizei GLsizei osg::Texture2DArray::Extensions::depth [protected]

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

typedef GLint GLint GLint GLint GLsizei GLsizei GLsizei GLenum GLenum osg::Texture2DArray::Extensions::type [protected]

typedef GLint GLint GLint GLint GLsizei GLsizei GLsizei GLenum GLenum const GLvoid* osg::Texture2DArray::Extensions::pixels [protected]

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

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

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

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

typedef GLint GLenum GLsizei GLsizei GLsizei osg::Texture2DArray::Extensions::depth [protected]

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

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

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

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

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

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

typedef GLint GLint GLint GLint osg::Texture2DArray::Extensions::zoffset [protected]

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

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

typedef GLint GLint GLint GLint GLsizei GLsizei GLsizei osg::Texture2DArray::Extensions::depth [protected]

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

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

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

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

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

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

typedef GLint GLint GLint GLint osg::Texture2DArray::Extensions::zoffset [protected]

typedef GLint GLint GLint GLint GLint osg::Texture2DArray::Extensions::x [protected]

typedef GLint GLint GLint GLint GLint GLint osg::Texture2DArray::Extensions::y [protected]

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

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


Constructor & Destructor Documentation

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

osg::Texture2DArray::Extensions::Extensions ( const Extensions rhs  ) 

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


Member Function Documentation

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

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

void osg::Texture2DArray::Extensions::setTexture2DArraySupported ( bool  flag  )  [inline]

bool osg::Texture2DArray::Extensions::isTexture2DArraySupported (  )  const [inline]

void osg::Texture2DArray::Extensions::setTexture3DSupported ( bool  flag  )  [inline]

bool osg::Texture2DArray::Extensions::isTexture3DSupported (  )  const [inline]

void osg::Texture2DArray::Extensions::setMaxLayerCount ( GLint  count  )  [inline]

GLint osg::Texture2DArray::Extensions::maxLayerCount (  )  const [inline]

void osg::Texture2DArray::Extensions::setMax2DSize ( GLint  size  )  [inline]

GLint osg::Texture2DArray::Extensions::max2DSize (  )  const [inline]

void osg::Texture2DArray::Extensions::glTexImage3D ( GLenum  target,
GLint  level,
GLenum  internalFormat,
GLsizei  width,
GLsizei  height,
GLsizei  depth,
GLint  border,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
) const

void osg::Texture2DArray::Extensions::glTexSubImage3D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLint  zoffset,
GLsizei  width,
GLsizei  height,
GLsizei  depth,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
) const

void osg::Texture2DArray::Extensions::glCopyTexSubImage3D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLint  zoffset,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height 
) const

bool osg::Texture2DArray::Extensions::isCompressedTexImage3DSupported (  )  const [inline]

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

bool osg::Texture2DArray::Extensions::isCompressedTexSubImage3DSupported (  )  const [inline]

void osg::Texture2DArray::Extensions::glCompressedTexSubImage3D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLint  zoffset,
GLsizei  width,
GLsizei  height,
GLsizei  depth,
GLenum  format,
GLsizei  imageSize,
const GLvoid *  data 
) const

typedef osg::Texture2DArray::Extensions::void ( APIENTRY *  GLTexImage3DProc  )  [protected]

typedef osg::Texture2DArray::Extensions::void ( APIENTRY *  GLTexSubImage3DProc  )  [protected]

typedef osg::Texture2DArray::Extensions::void ( APIENTRY *  CompressedTexImage3DArbProc  )  [protected]

typedef osg::Texture2DArray::Extensions::void ( APIENTRY *  CompressedTexSubImage3DArbProc  )  [protected]

typedef osg::Texture2DArray::Extensions::void ( APIENTRY *  GLCopyTexSubImageProc  )  [protected]


Member Data Documentation

bool osg::Texture2DArray::Extensions::_isTexture2DArraySupported [protected]

bool osg::Texture2DArray::Extensions::_isTexture3DSupported [protected]

GLint osg::Texture2DArray::Extensions::_maxLayerCount [protected]

GLint osg::Texture2DArray::Extensions::_max2DSize [protected]

GLTexImage3DProc osg::Texture2DArray::Extensions::_glTexImage3D [protected]

GLTexSubImage3DProc osg::Texture2DArray::Extensions::_glTexSubImage3D [protected]

CompressedTexImage3DArbProc osg::Texture2DArray::Extensions::_glCompressedTexImage3D [protected]

CompressedTexSubImage3DArbProc osg::Texture2DArray::Extensions::_glCompressedTexSubImage3D [protected]

GLCopyTexSubImageProc osg::Texture2DArray::Extensions::_glCopyTexSubImage3D [protected]


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