![]() |
Murl Engine API
Version 2018.3
|
The IAppControl interface. More...
#include <murl_i_app_control.h>
The IAppControl interface.
Public Member Functions | |
virtual Bool | TerminateApp ()=0 |
Terminate (exit) the entire application within the next frame tick. More... | |
virtual Bool | IsTerminateApp () const =0 |
Check if the application is terminated within the next frame tick. More... | |
virtual Bool | SetLoadingProgress (Real progress)=0 |
Set the current loading progress. More... | |
virtual Real | GetLoadingProgress () const =0 |
Get the current loading progress. More... | |
![]() | |
virtual const String & | GetName () const =0 |
Get the controlable's name. More... | |
virtual void | FrameUpdate ()=0 |
Is executed in the platform thread context each frame tick. | |
virtual void | LogicUpdate ()=0 |
Is executed in the logic thread context each logic tick. | |
virtual void | ConfigChanged (const IAppConfiguration *appConfig)=0 |
Notification of changed configuration. More... | |
|
pure virtual |
Terminate (exit) the entire application within the next frame tick.
Terminating the application is not supported on iOS devices.
|
pure virtual |
Check if the application is terminated within the next frame tick.
Set the current loading progress.
Setting the loading progress is an optional feature to communicate the app's current loading state to the platform handler. By default, the loading progress is set to 0.0 (unloaded).
progress | The loading progress, between 0.0 and 1.0 |
|
pure virtual |
Get the current loading progress.