#include <Texture.h>
|
| 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 |
|
| Referenced () |
|
| Referenced (bool threadSafeRefUnref) |
|
| Referenced (const Referenced &) |
|
Referenced & | operator= (const Referenced &) |
|
virtual void | setThreadSafeRefUnref (bool threadSafe) |
|
bool | getThreadSafeRefUnref () const |
|
OpenThreads::Mutex * | getRefMutex () const |
|
int | ref () const |
|
int | unref () const |
|
int | unref_nodelete () const |
|
int | referenceCount () const |
|
ObserverSet * | getObserverSet () const |
|
ObserverSet * | getOrCreateObserverSet () const |
|
void | addObserver (Observer *observer) const |
|
void | removeObserver (Observer *observer) const |
|
Definition at line 990 of file Texture.h.
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 |
( |
| ) |
|
|
protectedvirtual |
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 |
bool osg::Texture::TextureObject::_allocated |
unsigned int osg::Texture::TextureObject::_frameLastUsed |
GLuint osg::Texture::TextureObject::_id |
Texture* osg::Texture::TextureObject::_texture |
double osg::Texture::TextureObject::_timeStamp |
The documentation for this class was generated from the following file: