openscenegraph
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
osg::Texture3D::Extensions Class Reference
Inheritance diagram for osg::Texture3D::Extensions:
osg::Referenced

Public Types

typedef void(GL_APIENTRYGLTexImage3DProc) (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
 
typedef void(GL_APIENTRYGLTexSubImage3DProc) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
 
typedef void(GL_APIENTRYCompressedTexImage3DArbProc) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
 
typedef void(GL_APIENTRYCompressedTexSubImage3DArbProc) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data)
 
typedef void(GL_APIENTRYGLCopyTexSubImageProc) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
 

Public Member Functions

 Extensions (unsigned int contextID)
 
 Extensions (const Extensions &rhs)
 
void lowestCommonDenominator (const Extensions &rhs)
 
void setupGLExtensions (unsigned int contextID)
 
void setTexture3DSupported (bool flag)
 
bool isTexture3DSupported () const
 
void setTexture3DFast (bool flag)
 
bool isTexture3DFast () const
 
void setMaxTexture3DSize (GLint maxsize)
 
GLint maxTexture3DSize () const
 
bool isCompressedTexImage3DSupported () const
 
bool isCompressedTexSubImage3DSupported () const
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Public Attributes

GLTexImage3DProc glTexImage3D
 
GLTexSubImage3DProc glTexSubImage3D
 
CompressedTexImage3DArbProc glCompressedTexImage3D
 
CompressedTexSubImage3DArbProc glCompressedTexSubImage3D
 
GLCopyTexSubImageProc glCopyTexSubImage3D
 

Protected Member Functions

 ~Extensions ()
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Protected Attributes

bool _isTexture3DSupported
 
bool _isTexture3DFast
 
GLint _maxTexture3DSize
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 

Detailed Description

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

Member Typedef Documentation

§ CompressedTexImage3DArbProc

typedef void(GL_APIENTRY * osg::Texture3D::Extensions::CompressedTexImage3DArbProc) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)

§ CompressedTexSubImage3DArbProc

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

§ GLCopyTexSubImageProc

typedef void(GL_APIENTRY * osg::Texture3D::Extensions::GLCopyTexSubImageProc) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)

§ GLTexImage3DProc

typedef void(GL_APIENTRY * osg::Texture3D::Extensions::GLTexImage3DProc) (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)

§ GLTexSubImage3DProc

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

Constructor & Destructor Documentation

§ Extensions() [1/2]

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

§ Extensions() [2/2]

osg::Texture3D::Extensions::Extensions ( const Extensions rhs)

§ ~Extensions()

osg::Texture3D::Extensions::~Extensions ( )
inlineprotected

Member Function Documentation

§ isCompressedTexImage3DSupported()

bool osg::Texture3D::Extensions::isCompressedTexImage3DSupported ( ) const
inline

§ isCompressedTexSubImage3DSupported()

bool osg::Texture3D::Extensions::isCompressedTexSubImage3DSupported ( ) const
inline

§ isTexture3DFast()

bool osg::Texture3D::Extensions::isTexture3DFast ( ) const
inline

§ isTexture3DSupported()

bool osg::Texture3D::Extensions::isTexture3DSupported ( ) const
inline

§ lowestCommonDenominator()

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

§ maxTexture3DSize()

GLint osg::Texture3D::Extensions::maxTexture3DSize ( ) const
inline

§ setMaxTexture3DSize()

void osg::Texture3D::Extensions::setMaxTexture3DSize ( GLint  maxsize)
inline

§ setTexture3DFast()

void osg::Texture3D::Extensions::setTexture3DFast ( bool  flag)
inline

§ setTexture3DSupported()

void osg::Texture3D::Extensions::setTexture3DSupported ( bool  flag)
inline

§ setupGLExtensions()

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

Member Data Documentation

§ _isTexture3DFast

bool osg::Texture3D::Extensions::_isTexture3DFast
protected

§ _isTexture3DSupported

bool osg::Texture3D::Extensions::_isTexture3DSupported
protected

§ _maxTexture3DSize

GLint osg::Texture3D::Extensions::_maxTexture3DSize
protected

§ glCompressedTexImage3D

CompressedTexImage3DArbProc osg::Texture3D::Extensions::glCompressedTexImage3D

§ glCompressedTexSubImage3D

CompressedTexSubImage3DArbProc osg::Texture3D::Extensions::glCompressedTexSubImage3D

§ glCopyTexSubImage3D

GLCopyTexSubImageProc osg::Texture3D::Extensions::glCopyTexSubImage3D

§ glTexImage3D

GLTexImage3DProc osg::Texture3D::Extensions::glTexImage3D

§ glTexSubImage3D

GLTexSubImage3DProc osg::Texture3D::Extensions::glTexSubImage3D

The documentation for this class was generated from the following file: