Public Member Functions | |
ImpostorSpriteManager () | |
bool | empty () const |
ImpostorSprite * | first () |
ImpostorSprite * | last () |
void | push_back (ImpostorSprite *is) |
void | remove (ImpostorSprite *is) |
ImpostorSprite * | createOrReuseImpostorSprite (int s, int t, int frameNumber) |
osg::StateSet * | createOrReuseStateSet () |
void | reset () |
Protected Types | |
typedef std::vector < osg::ref_ptr < osg::StateSet > > | StateSetList |
Protected Member Functions | |
~ImpostorSpriteManager () | |
Protected Attributes | |
osg::ref_ptr < osg::TexEnv > | _texenv |
osg::ref_ptr < osg::AlphaFunc > | _alphafunc |
ImpostorSprite * | _first |
ImpostorSprite * | _last |
StateSetList | _stateSetList |
unsigned int | _reuseStateSetIndex |
typedef std::vector< osg::ref_ptr<osg::StateSet> > osgSim::ImpostorSpriteManager::StateSetList [protected] |
osgSim::ImpostorSpriteManager::ImpostorSpriteManager | ( | ) |
osgSim::ImpostorSpriteManager::~ImpostorSpriteManager | ( | ) | [protected] |
bool osgSim::ImpostorSpriteManager::empty | ( | ) | const [inline] |
ImpostorSprite* osgSim::ImpostorSpriteManager::first | ( | ) | [inline] |
ImpostorSprite* osgSim::ImpostorSpriteManager::last | ( | ) | [inline] |
void osgSim::ImpostorSpriteManager::push_back | ( | ImpostorSprite * | is | ) |
void osgSim::ImpostorSpriteManager::remove | ( | ImpostorSprite * | is | ) |
ImpostorSprite* osgSim::ImpostorSpriteManager::createOrReuseImpostorSprite | ( | int | s, | |
int | t, | |||
int | frameNumber | |||
) |
osg::StateSet* osgSim::ImpostorSpriteManager::createOrReuseStateSet | ( | ) |
void osgSim::ImpostorSpriteManager::reset | ( | ) |
ImpostorSprite* osgSim::ImpostorSpriteManager::_first [protected] |
ImpostorSprite* osgSim::ImpostorSpriteManager::_last [protected] |
unsigned int osgSim::ImpostorSpriteManager::_reuseStateSetIndex [protected] |