#include <Texture>
|
| 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 |
|
void | release () |
|
| GraphicsObject () |
|
| Referenced () |
|
| Referenced (bool threadSafeRefUnref) |
|
| Referenced (const Referenced &) |
|
Referenced & | operator= (const Referenced &) |
|
virtual void | setThreadSafeRefUnref (bool) |
|
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 |
|
◆ TextureObject() [1/3]
osg::Texture::TextureObject::TextureObject |
( |
Texture * |
texture, |
|
|
GLuint |
id, |
|
|
GLenum |
target |
|
) |
| |
|
inline |
◆ TextureObject() [2/3]
osg::Texture::TextureObject::TextureObject |
( |
Texture * |
texture, |
|
|
GLuint |
id, |
|
|
const TextureProfile & |
profile |
|
) |
| |
|
inline |
◆ TextureObject() [3/3]
osg::Texture::TextureObject::TextureObject |
( |
Texture * |
texture, |
|
|
GLuint |
id, |
|
|
GLenum |
target, |
|
|
GLint |
numMipmapLevels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
GLsizei |
height, |
|
|
GLsizei |
depth, |
|
|
GLint |
border |
|
) |
| |
|
inline |
◆ ~TextureObject()
virtual osg::Texture::TextureObject::~TextureObject |
( |
| ) |
|
|
protectedvirtual |
◆ bind()
void osg::Texture::TextureObject::bind |
( |
| ) |
|
◆ getTexture()
Texture * osg::Texture::TextureObject::getTexture |
( |
| ) |
const |
|
inline |
◆ getTimeStamp()
double osg::Texture::TextureObject::getTimeStamp |
( |
| ) |
const |
|
inline |
◆ id()
GLenum osg::Texture::TextureObject::id |
( |
| ) |
const |
|
inline |
◆ isAllocated()
bool osg::Texture::TextureObject::isAllocated |
( |
| ) |
const |
|
inline |
◆ isReusable()
bool osg::Texture::TextureObject::isReusable |
( |
| ) |
const |
|
inline |
◆ match()
bool osg::Texture::TextureObject::match |
( |
GLenum |
target, |
|
|
GLint |
numMipmapLevels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
GLsizei |
height, |
|
|
GLsizei |
depth, |
|
|
GLint |
border |
|
) |
| |
|
inline |
◆ release()
void osg::Texture::TextureObject::release |
( |
| ) |
|
release TextureObject to the orphan list to be reused or deleted.
◆ setAllocated() [1/2]
void osg::Texture::TextureObject::setAllocated |
( |
bool |
allocated = true | ) |
|
|
inline |
◆ setAllocated() [2/2]
void osg::Texture::TextureObject::setAllocated |
( |
GLint |
numMipmapLevels, |
|
|
GLenum |
internalFormat, |
|
|
GLsizei |
width, |
|
|
GLsizei |
height, |
|
|
GLsizei |
depth, |
|
|
GLint |
border |
|
) |
| |
◆ setTexture()
void osg::Texture::TextureObject::setTexture |
( |
Texture * |
texture | ) |
|
|
inline |
◆ setTimeStamp()
void osg::Texture::TextureObject::setTimeStamp |
( |
double |
timestamp | ) |
|
|
inline |
◆ size()
unsigned int osg::Texture::TextureObject::size |
( |
| ) |
const |
|
inline |
◆ target()
GLenum osg::Texture::TextureObject::target |
( |
| ) |
const |
|
inline |
◆ _allocated
bool osg::Texture::TextureObject::_allocated |
◆ _frameLastUsed
unsigned int osg::Texture::TextureObject::_frameLastUsed |
◆ _id
GLuint osg::Texture::TextureObject::_id |
◆ _next
◆ _previous
◆ _profile
◆ _set
◆ _texture
Texture* osg::Texture::TextureObject::_texture |
◆ _timeStamp
double osg::Texture::TextureObject::_timeStamp |
The documentation for this class was generated from the following file: