![]() |
VR-Forces 5.0.1 Developer's Guide
|
A Referenced texture key holder for terrain nodes. When a terrain patch is loaded, a visitor finds all the filenames of all the textures applied to terrain nodes, puts them in a map, and stores the key to the filename in the node's userData via DtOsgTextureKeyHolder objects.

Public Types | |
| typedef std::list< int > | KeyList |
Public Member Functions | |
| DtOsgTextureKeyHolder () | |
| virtual | ~DtOsgTextureKeyHolder () |
| virtual const KeyList & | textureKeys () const |
| virtual void | addTextureKey (int key) |
Protected Attributes | |
| KeyList | myTextureKeys |
| typedef std::list<int> makVrv::DtOsgTextureKeyHolder::KeyList |
| makVrv::DtOsgTextureKeyHolder::DtOsgTextureKeyHolder | ( | ) |
CTOR with texture key.
|
virtual |
DTOR.
|
virtual |
The key to the texture map stored in this object.
|
virtual |
|
protected |