Base class for tvOS applications. More...
#include <TVOSAppBase.hpp>
Public Member Functions | |
| virtual void | Update (double CurrTime, double ElapsedTime) |
| Updates the application state. | |
Public Member Functions inherited from Diligent::AppBase | |
| virtual CommandLineStatus | ProcessCommandLine (int argc, const char *const *argv)=0 |
| Processes the command line arguments. | |
| virtual const char * | GetAppTitle () const =0 |
| Returns the application tile. | |
| virtual void | Render ()=0 |
| Renders the frame. | |
| virtual void | Present ()=0 |
| Presents the frame. | |
| virtual void | WindowResize (int width, int height)=0 |
| Called when the window resizes. | |
| virtual void | GetDesiredInitialWindowSize (int &width, int &height) |
| Called by the framework to request the desired initial window size. | |
| virtual GoldenImageMode | GetGoldenImageMode () const |
| Returns the golden image mode, see Diligent::AppBase::GoldenImageMode. | |
| virtual int | GetExitCode () const |
| Returns the exit code. | |
| virtual bool | IsReady () const |
| Returns true if the app is initialized and ready to run. | |
| virtual HOT_KEY_FLAGS | GetHotKeyFlags () const |
| Returns the hot key handling flags. | |
Additional Inherited Members | |
Public Types inherited from Diligent::AppBase | |
| enum class | GoldenImageMode { None = 0 , Capture , Compare , CompareUpdate } |
| Golden image capture mode. More... | |
| enum class | CommandLineStatus { OK , Help , Error } |
| Command line processing result. More... | |
Base class for tvOS applications.
|
inlinevirtual |
Updates the application state.
This method is called by the framework to let the application perform the required update operations.
| [in] | CurrTime | - Current time, i.e. the time elapsed since the application started. |
| [in] | ElapsedTime | - The time elapsed since the previous frame update. |
Reimplemented from Diligent::AppBase.