List of all members.
Public Member Functions |
| TextureObject (Texture *texture, GLuint id, GLenum target) |
| TextureObject (Texture *texture, GLuint id, const TextureProfile &profile) |
| TextureObject (Texture *texture, 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 () |
GLenum | id () const |
GLenum | target () const |
unsigned int | size () const |
void | setTexture (Texture *texture) |
Texture * | getTexture () const |
void | setTimeStamp (double timestamp) |
double | getTimeStamp () const |
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 |
TextureProfile | _profile |
TextureObjectSet * | _set |
TextureObject * | _previous |
TextureObject * | _next |
Texture * | _texture |
bool | _allocated |
unsigned int | _frameLastUsed |
double | _timeStamp |
Protected Member Functions |
virtual | ~TextureObject () |
Constructor & Destructor Documentation
osg::Texture::TextureObject::TextureObject |
( |
Texture * |
texture, |
|
|
GLuint |
id, |
|
|
GLenum |
target |
|
) |
| [inline] |
osg::Texture::TextureObject::TextureObject |
( |
Texture * |
texture, |
|
|
GLuint |
id, |
|
|
const TextureProfile & |
profile |
|
) |
| [inline] |
osg::Texture::TextureObject::TextureObject |
( |
Texture * |
texture, |
|
|
GLuint |
id, |
|
|
GLenum |
target, |
|
|
GLint |
numMipmapLevels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
GLsizei |
height, |
|
|
GLsizei |
depth, |
|
|
GLint |
border |
|
) |
| [inline] |
virtual osg::Texture::TextureObject::~TextureObject |
( |
| ) |
[protected, virtual] |
Member Function Documentation
void osg::Texture::TextureObject::bind |
( |
| ) |
|
Texture* osg::Texture::TextureObject::getTexture |
( |
| ) |
const [inline] |
double osg::Texture::TextureObject::getTimeStamp |
( |
| ) |
const [inline] |
GLenum osg::Texture::TextureObject::id |
( |
| ) |
const [inline] |
bool osg::Texture::TextureObject::isAllocated |
( |
| ) |
const [inline] |
bool osg::Texture::TextureObject::isReusable |
( |
| ) |
const [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::setAllocated |
( |
bool |
allocated = true | ) |
[inline] |
void osg::Texture::TextureObject::setAllocated |
( |
GLint |
numMipmapLevels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
GLsizei |
height, |
|
|
GLsizei |
depth, |
|
|
GLint |
border |
|
) |
| |
void osg::Texture::TextureObject::setTexture |
( |
Texture * |
texture | ) |
[inline] |
void osg::Texture::TextureObject::setTimeStamp |
( |
double |
timestamp | ) |
[inline] |
unsigned int osg::Texture::TextureObject::size |
( |
| ) |
const [inline] |
GLenum osg::Texture::TextureObject::target |
( |
| ) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: