OpenSceneGraph
3.0.1
|
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 |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
Set whether to use a mutex to ensure ref() and unref() are thread safe. | |
bool | getThreadSafeRefUnref () const |
Get whether a mutex is used to ensure ref() and unref() are thread safe. | |
OpenThreads::Mutex * | getRefMutex () const |
Get the mutex used to ensure thread safety of ref()/unref(). | |
int | ref () const |
Increment the reference count by one, indicating that this object has another pointer which is referencing it. | |
int | unref () const |
Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
int | unref_nodelete () const |
Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
int | referenceCount () const |
Return the number of pointers currently referencing this object. | |
ObserverSet * | getObserverSet () const |
Get the ObserverSet if one is attached, otherwise return NULL. | |
ObserverSet * | getOrCreateObserverSet () const |
Get the ObserverSet if one is attached, otherwise create an ObserverSet, attach it, then return this newly created ObserverSet. | |
void | addObserver (Observer *observer) const |
Add a Observer that is observing this object, notify the Observer when this object gets deleted. | |
void | removeObserver (Observer *observer) const |
Remove Observer that is observing this object. |
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 |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
Get the optional global Referenced mutex, this can be shared between all osg::Referenced. | |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
Set whether reference counting should use a mutex for thread safe reference counting. | |
static bool | getThreadSafeReferenceCounting () |
Get whether reference counting is active. | |
static void | setDeleteHandler (DeleteHandler *handler) |
Set a DeleteHandler to which deletion of all referenced counted objects will be delegated. | |
static DeleteHandler * | getDeleteHandler () |
Get a DeleteHandler. |
Encapsulates queries of extension availability, obtains extension function pointers, and provides convenience wrappers for calling extension functions.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
osg::Texture::Extensions::Extensions | ( | unsigned int | contextID | ) |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
![]() | Generated at Tue Sep 4 2012 16:18:40 for the OpenSceneGraph by doxygen 1.8.1.2. |