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

#include <GeometryNode.h>

Inheritance diagram for Ult::GeometryNode:
Ult::Node

Public Member Functions

 GeometryNode (DynamicModel *model, ULT_MODEL_RESOURCE_MANAGER *modelManager, ULT_EFFECT_RESOURCE_MANAGER *effectManager, RenderInterface *renderer)
 
virtual ~GeometryNode ()
 
void Process ()
 
- Public Member Functions inherited from Ult::Node
 Node ()
 
virtual ~Node ()
 
void AddChild (Node *node)
 
void AddSibling (Node *node)
 

Protected Attributes

DynamicModelmModel
 
ULT_MODEL_RESOURCE_MANAGERmModelManager
 
ULT_EFFECT_RESOURCE_MANAGERmEffectManager
 
RenderInterfacemRenderer
 
- Protected Attributes inherited from Ult::Node
NodemNext
 
NodemPrev
 
NodemChild
 

Detailed Description

Represents a node in a scene graph with renderable geometry.

Constructor & Destructor Documentation

◆ GeometryNode()

Ult::GeometryNode::GeometryNode ( DynamicModel * model,
ULT_MODEL_RESOURCE_MANAGER * modelManager,
ULT_EFFECT_RESOURCE_MANAGER * effectManager,
RenderInterface * renderer )
inline

GeometryNode constructor.

◆ ~GeometryNode()

virtual Ult::GeometryNode::~GeometryNode ( )
inlinevirtual

GeometryNode destructor.

Member Function Documentation

◆ Process()

void Ult::GeometryNode::Process ( )
inlinevirtual

Renders this node's model with it's effect applied, Then call process on any child/sibling nodes

Reimplemented from Ult::Node.

Member Data Documentation

◆ mEffectManager

ULT_EFFECT_RESOURCE_MANAGER* Ult::GeometryNode::mEffectManager
protected

◆ mModel

DynamicModel* Ult::GeometryNode::mModel
protected

◆ mModelManager

ULT_MODEL_RESOURCE_MANAGER* Ult::GeometryNode::mModelManager
protected

◆ mRenderer

RenderInterface* Ult::GeometryNode::mRenderer
protected

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