Engine API
| Home | About XEngine | Engine API | SceneGraph | Changelog | Programming Guide |
Index| Configuration API | Device API | Engine Initialization API | Engine Management API | Settings API | Timer API | Utilities API | |
Engine Timer API
| Description: | The Timer API provides functions for accessing the internal engine Timer. In order to keep proper synchronization to external timer specific tasks, the internal timer configuration should be queried. The timer update request should be updated externally for flexibility reasons. |
| Special notes: | This API should be called before XE_engine_update |
Function List
| Name | XE_timer_update |
| Arguments | none |
| Return Type | void |
| Description | This function updates the internal application times. This is decoupled from the idle function in order to provide the user the option to update the times, retrieve the delta time, update any relevant code and then call the engine's update function. | Notes: | This function should be called before XE_engine_update |
| Name | XE_timer_get_absolute_time |
| Arguments | double& absolute_time |
| Return Type | void |
| Description | Returns the absolute time since the application has started (in ms) Parameters: - absolute_time, the absolute time in ms |
Notes: | This function should be called before XE_engine_update |
| Name | XE_timer_get_delta_time |
| Arguments | double& delta_time |
| Return Type | void |
| Description | Returns the delta time since the last update (in ms) Parameters: - delta_time, the delta time in ms |
Notes: | This function should be called before XE_engine_update |
Last updated 27 May. 2013