Rubeus::GraphicComponents::RGameScene class

Contains the entire scene on display.

Constructors, destructors, conversion operators

RGameScene(const char* vShaderPath, const char* fShaderPath)
Constructor.
~RGameScene()
Destructor.

Public functions

void add(RGameObject* gameObject)
Add a gameobject to the layers.
void draw()
Draw all layers to screen.

Function documentation

void Rubeus::GraphicComponents::RGameScene::add(RGameObject* gameObject)

Add a gameobject to the layers.

Parameters
gameObject Pointer to the game object.