All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
Eegeo::Rendering::Scene::SceneElement< T > Class Template Reference

An element of the scene graph. More...

#include <SceneElement.h>

Inheritance diagram for Eegeo::Rendering::Scene::SceneElement< T >:
Eegeo::Resources::IBuiltResource

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::MortonKeyGetKey () 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)
 

Detailed Description

template<typename T>
class Eegeo::Rendering::Scene::SceneElement< T >

An element of the scene graph.

This class handles the lifetime management of individual elements in the scene graph.


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