class SG_EXPORT osg::ImpostorSpriteManager

Helper class for managing the reuse of ImpostorSprite resources

Inheritance:


Public Methods

[more] ImpostorSpriteManager()
[more]bool empty() const
[more]ImpostorSprite* first()
[more]ImpostorSprite* last()
[more]void push_back(ImpostorSprite* is)
[more]void remove(ImpostorSprite* is)
[more]ImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber)
[more]StateSet* createOrReuseStateSet()
[more]void reset()

Protected Fields

[more]ref_ptr<TexEnv> _texenv
[more]ref_ptr<AlphaFunc> _alphafunc
[more]ImpostorSprite* _first
[more]ImpostorSprite* _last
[more]StateSetList _stateSetList
[more]unsigned int _reuseStateSetIndex

Protected Methods

[more] ~ImpostorSpriteManager()

Protected Members

[more]typedef std::vector< ref_ptr<StateSet> > StateSetList


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable int _refCount


Documentation

Helper class for managing the reuse of ImpostorSprite resources
o ImpostorSpriteManager()

obool empty() const

oImpostorSprite* first()

oImpostorSprite* last()

ovoid push_back(ImpostorSprite* is)

ovoid remove(ImpostorSprite* is)

oImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber)

oStateSet* createOrReuseStateSet()

ovoid reset()

o ~ImpostorSpriteManager()

oref_ptr<TexEnv> _texenv

oref_ptr<AlphaFunc> _alphafunc

oImpostorSprite* _first

oImpostorSprite* _last

otypedef std::vector< ref_ptr<StateSet> > StateSetList

oStateSetList _stateSetList

ounsigned int _reuseStateSetIndex


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.