Microsoft DirectX 9.0 SDK Update (October 2004)

Framework.SetConstantFrameTime Method

Language:

Note: This documentation is preliminary and is subject to change.

Enables or disables a constant frame time.

Overload List

public void SetConstantFrameTime(bool);
public void SetConstantFrameTime(bool, float);

Remarks

The default rate is one second for every 30 frames, or 0.0333 seconds per frame.

This function is useful for saving the rendered output to a video format for playback, allowing animation at a rate independent of the actual rate at which frames were rendered.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center