LPDXUTCALLBACKTIMER
A timer to be called at specified time intervals by DXUT.
VOID LPDXUTCALLBACKTIMER(
UINT idEvent,
void* pUserContext
);
Parameters
- idEvent
- [in] Specifies a nonzero timer event ID. Indicates which timer generated the event, allowing the application to use a single callback function for multiple timers.
- pUserContext
- [in] Pointer to a user-defined value which is passed to the callback function. Typically used by an application to pass a pointer to a data structure that provides context information for the callback function. The default value is NULL
Return Values
No return value.
Remarks
The framework will call this function at the start of the frame, before calling LPDXUTCALLBACKFRAMEMOVE or LPDXUTCALLBACKFRAMERENDER.
In general, the framework timer is more accurate than the Windows
WM_TIMER system timer, since the framework uses QueryPerformanceCounter.
Requirements
Header: Declared in Dxut.h.
See Also
DXUTSetTimer, DXUTKillTimer