![]() |
![]() |
![]() |
Sets the frame render callback function.
Syntax
VOID DXUTSetCallbackFrameRender(
LPDXUTCALLBACKFRAMERENDER pCallbackFrameRender );
Parameters
- pCallbackFrameRender
- [in] Pointer to a LPDXUTCALLBACKFRAMERENDER callback function. If the callback function is supplied, it will be called at the end of every frame to facilitate rendering of the scene.If NULL, the sample framework will not prompt the application to render the scene.
Return Value
No return value.
Remarks
The LPDXUTCALLBACKFRAMERENDER callback function is the appropriate location for the application to render the current scene. The LPDXUTCALLBACKFRAMEMOVE callback function will be called once per frame, while LPDXUTCALLBACKFRAMERENDER will be called when the scene needs to be rendered, which might be more than once per frame.
Function Information
Header dxut.h Import library None Minimum operating systems Windows 98
See Also
Frame Events, LPDXUTCALLBACKFRAMERENDER, LPDXUTCALLBACKFRAMEMOVE, DXUTSetCallbackFrameMove