DXUTSetCallbackFrameRender
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTSetCallbackFrameRender Function


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

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

Frame Events, LPDXUTCALLBACKFRAMERENDER, LPDXUTCALLBACKFRAMEMOVE, DXUTSetCallbackFrameMove


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.