|
Untold Engine
Beta v0.0.16
docs
|
The U4DSceneActiveState class represents the scene Active state. More...
Inherits U4DEngine::U4DSceneStateInterface.
Public Member Functions | |
| void | enter (U4DScene *uScene) |
| enters new state More... | |
| void | execute (U4DScene *uScene, double dt) |
| executes current state More... | |
| void | render (U4DScene *uScene, id< MTLCommandBuffer > uCommandBuffer) |
| Renders current scene. More... | |
| void | exit (U4DScene *uScene) |
| exits current state More... | |
| bool | isSafeToChangeState (U4DScene *uScene) |
| true if is safe to change states More... | |
Public Member Functions inherited from U4DEngine::U4DSceneStateInterface | |
| virtual | ~U4DSceneStateInterface () |
| Scene Interface destructor. | |
Static Public Member Functions | |
| static U4DSceneActiveState * | sharedInstance () |
Static Public Attributes | |
| static U4DSceneActiveState * | instance =0 |
The U4DSceneActiveState class represents the scene Active state.
|
virtual |
enters new state
| uScene | scene to enter into new state |
Implements U4DEngine::U4DSceneStateInterface.
|
virtual |
executes current state
| uScene | scene to execute |
| dt | game tick |
Implements U4DEngine::U4DSceneStateInterface.
|
virtual |
|
virtual |
true if is safe to change states
| uScene | current scene |
Implements U4DEngine::U4DSceneStateInterface.
|
virtual |
Renders current scene.
| uScene | scene to render |
| uRenderEncoder | metal render encoder |
Implements U4DEngine::U4DSceneStateInterface.