The U4DSceneStateManager class represents the scene state manager. It manages the states of the scenes.
More...
The U4DSceneStateManager class represents the scene state manager. It manages the states of the scenes.
◆ U4DSceneStateManager()
U4DEngine::U4DSceneStateManager::U4DSceneStateManager |
( |
U4DScene * |
uScene | ) |
|
scene state manager constructor
- Parameters
-
◆ changeState()
changes the state of the scene
- Parameters
-
uState | scene state to change to |
◆ render()
void U4DEngine::U4DSceneStateManager::render |
( |
id< MTLCommandBuffer > |
uCommandBuffer | ) |
|
Renders current scene.
- Parameters
-
uScene | scene to render |
uRenderEncoder | metal render encoder |
◆ safeChangeState()
safe to change scene state
- Parameters
-
uState | scene state to change to |
◆ update()
void U4DEngine::U4DSceneStateManager::update |
( |
double |
dt | ) |
|
updates the scene
- Parameters
-