An element of the scene graph. More...
#include <SceneElement.h>
Public Member Functions | |
SceneElement (TRenderableType *pRenderable, const Streaming::MortonKey &key, std::string name) | |
void | Unload () |
bool | IsInSceneGraph () const |
void | RemovedFromSceneGraph () |
void | AddedToSceneGraph () |
const Eegeo::Streaming::MortonKey & | GetKey () const |
const std::string & | GetName () const |
void | SetKey (const Eegeo::Streaming::MortonKey &key) |
void | SetRemover (Rendering::Scene::ISceneElementRemover< TRenderableType > *remover) |
void | SetObserver (Scene::ISceneElementInGraphObserver< TRenderableType > *pObserver) |
TRenderableType & | GetResource () const |
Static Public Member Functions | |
static void | Prefetch (const SceneElement< TRenderableType > *pSceneElement) |
An element of the scene graph.
This class handles the lifetime management of individual elements in the scene graph.