Table of Contents

 
LoadScene
 

Purpose

Laods a scene to be rendered

 

Protoype

void CSceneMngr::LoadScene(string str_scene)
 

Parameters

scene the name of the scene to load
 

Description

This function loads a scene to be rendered on the screen. If there is another scene loaded that scene will be unloaded automatically.

 

Use

CSceneMngr scene;
scene.LoadScene("my_scene"); 
 

Prev: InScene