osg::Texture::TextureObjectSet Class Reference

Inheritance diagram for osg::Texture::TextureObjectSet:

osg::Referenced

List of all members.

Public Member Functions

 TextureObjectSet (TextureObjectManager *parent, const TextureProfile &profile)
void handlePendingOrphandedTextureObjects ()
void deleteAllTextureObjects ()
void discardAllTextureObjects ()
void flushAllDeletedTextureObjects ()
void discardAllDeletedTextureObjects ()
void flushDeletedTextureObjects (double currentTime, double &availableTime)
TextureObjecttakeFromOrphans (Texture *texture)
TextureObjecttakeOrGenerate (Texture *texture)
void moveToBack (TextureObject *to)
void addToBack (TextureObject *to)
void orphan (TextureObject *to)
void remove (TextureObject *to)
void moveToSet (TextureObject *to, TextureObjectSet *set)
unsigned int size () const
bool makeSpace (unsigned int &size)
bool checkConsistency () const
TextureObjectManagergetParent ()

Protected Member Functions

virtual ~TextureObjectSet ()

Protected Attributes

OpenThreads::Mutex _mutex
TextureObjectManager_parent
unsigned int _contextID
TextureProfile _profile
unsigned int _numOfTextureObjects
TextureObjectList _orphanedTextureObjects
TextureObjectList _pendingOrphanedTextureObjects
TextureObject_head
TextureObject_tail


Constructor & Destructor Documentation

osg::Texture::TextureObjectSet::TextureObjectSet ( TextureObjectManager parent,
const TextureProfile profile 
)

virtual osg::Texture::TextureObjectSet::~TextureObjectSet (  )  [protected, virtual]


Member Function Documentation

void osg::Texture::TextureObjectSet::handlePendingOrphandedTextureObjects (  ) 

void osg::Texture::TextureObjectSet::deleteAllTextureObjects (  ) 

void osg::Texture::TextureObjectSet::discardAllTextureObjects (  ) 

void osg::Texture::TextureObjectSet::flushAllDeletedTextureObjects (  ) 

void osg::Texture::TextureObjectSet::discardAllDeletedTextureObjects (  ) 

void osg::Texture::TextureObjectSet::flushDeletedTextureObjects ( double  currentTime,
double &  availableTime 
)

TextureObject* osg::Texture::TextureObjectSet::takeFromOrphans ( Texture texture  ) 

TextureObject* osg::Texture::TextureObjectSet::takeOrGenerate ( Texture texture  ) 

void osg::Texture::TextureObjectSet::moveToBack ( TextureObject to  ) 

void osg::Texture::TextureObjectSet::addToBack ( TextureObject to  ) 

void osg::Texture::TextureObjectSet::orphan ( TextureObject to  ) 

void osg::Texture::TextureObjectSet::remove ( TextureObject to  ) 

void osg::Texture::TextureObjectSet::moveToSet ( TextureObject to,
TextureObjectSet set 
)

unsigned int osg::Texture::TextureObjectSet::size (  )  const [inline]

bool osg::Texture::TextureObjectSet::makeSpace ( unsigned int &  size  ) 

bool osg::Texture::TextureObjectSet::checkConsistency (  )  const

TextureObjectManager* osg::Texture::TextureObjectSet::getParent (  )  [inline]


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Fri Mar 19 19:52:52 2010 for openscenegraph by  doxygen 1.5.6