
Public Member Functions | |
| TextureObject (GLuint id, GLenum target) | |
| TextureObject (GLuint id, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) | |
| bool | match (GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) |
| void | bind () |
| void | setAllocated (bool allocated=true) |
| void | setAllocated (GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) |
| bool | isAllocated () const |
| bool | isReusable () const |
Public Attributes | |
| GLuint | _id |
| GLenum | _target |
| GLint | _numMipmapLevels |
| GLenum | _internalFormat |
| GLsizei | _width |
| GLsizei | _height |
| GLsizei | _depth |
| GLint | _border |
| bool | _allocated |
| double | _timeStamp |
| osg::Texture::TextureObject::TextureObject | ( | GLuint | id, | |
| GLenum | target | |||
| ) | [inline] |
| osg::Texture::TextureObject::TextureObject | ( | GLuint | id, | |
| GLenum | target, | |||
| GLint | numMipmapLevels, | |||
| GLenum | internalFormat, | |||
| GLsizei | width, | |||
| GLsizei | height, | |||
| GLsizei | depth, | |||
| GLint | border | |||
| ) | [inline] |
| bool osg::Texture::TextureObject::match | ( | GLenum | target, | |
| GLint | numMipmapLevels, | |||
| GLenum | internalFormat, | |||
| GLsizei | width, | |||
| GLsizei | height, | |||
| GLsizei | depth, | |||
| GLint | border | |||
| ) | [inline] |
| void osg::Texture::TextureObject::bind | ( | ) | [inline] |
| void osg::Texture::TextureObject::setAllocated | ( | bool | allocated = true |
) | [inline] |
| void osg::Texture::TextureObject::setAllocated | ( | GLint | numMipmapLevels, | |
| GLenum | internalFormat, | |||
| GLsizei | width, | |||
| GLsizei | height, | |||
| GLsizei | depth, | |||
| GLint | border | |||
| ) | [inline] |
| bool osg::Texture::TextureObject::isAllocated | ( | ) | const [inline] |
| bool osg::Texture::TextureObject::isReusable | ( | ) | const [inline] |