Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
Ult::SceneGraph Class Reference

#include <SceneGraph.h>

Public Member Functions

 SceneGraph ()
 
 ~SceneGraph ()
 
void Release ()
 
void AddNode (Node *node)
 
void Process ()
 

Detailed Description

Represents a collection of nodes making up a scene

Constructor & Destructor Documentation

◆ SceneGraph()

Ult::SceneGraph::SceneGraph ( )
inline

SceneGraph constructor.

◆ ~SceneGraph()

Ult::SceneGraph::~SceneGraph ( )
inline

SceneGraph destructor. Deletes all contained nodes.

Member Function Documentation

◆ AddNode()

void Ult::SceneGraph::AddNode ( Node * node)
inline

Adds a child to the root node, allocating a root node if it doesn't exist.

◆ Process()

void Ult::SceneGraph::Process ( )
inline

Calls process on all nodes.

◆ Release()

void Ult::SceneGraph::Release ( )
inline

Deletes the scene's root node, which then deletes all connected nodes.


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