class osg::Texture::TextureObject


Inheritance:


Public Fields

[more]GLuint _id
[more]GLenum _target
[more]GLint _numMipmapLevels
[more]GLenum _internalFormat
[more]GLsizei _width
[more]GLsizei _height
[more]GLsizei _depth
[more]GLint _border
[more]bool _allocated
[more]double _timeStamp

Public Methods

[more]inline TextureObject(GLuint id, GLenum target)
[more]inline TextureObject(GLuint id, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
[more]inline bool match(GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
[more]inline void bind()
[more]inline void setAllocated(bool allocated=true)
[more]inline void setAllocated(GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
[more]inline bool isAllocated() const
[more]inline bool isReusable() const


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable OpenThreads::Mutex _refMutex
omutable int _refCount


Documentation

oinline TextureObject(GLuint id, GLenum target)

oinline TextureObject(GLuint id, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

oinline bool match(GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

oinline void bind()

oinline void setAllocated(bool allocated=true)

oinline void setAllocated(GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

oinline bool isAllocated() const

oinline bool isReusable() const

oGLuint _id

oGLenum _target

oGLint _numMipmapLevels

oGLenum _internalFormat

oGLsizei _width

oGLsizei _height

oGLsizei _depth

oGLint _border

obool _allocated

odouble _timeStamp


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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