Microsoft DirectX 8.1 (C++)

AMTimelineGroup.SetOutputBuffering Method

The AMTimelineGroup.SetOutputBuffering method specifies the number of frames rendered in advance during preview.

Syntax

object.SetOutputBuffering(
    nBuffer As Long
)

Parameters

nBuffer

Number of frames to buffer during preview. Must be two or greater.

Error Codes

If the method fails, an error is raised, and Err.Number can be set to one of the following values:

Value Description
E_INVALIDARG Invalid argument.

Remarks

A larger buffer requires more memory but can result in smoother previewing, especially during effects or transitions that require more time to render. The default buffer is 30 frames.

See Also