Microsoft DirectX 9.0

IRenderEngine::SetRenderRange

The SetRenderRange method sets the range of time on the timeline to be rendered. Objects that lie outside the specified range are not rendered, and resources are not allocated for them.

Syntax

HRESULT SetRenderRange(
    REFERENCE_TIME Start,
    REFERENCE_TIME Stop
);

Parameters

Start

Start time, in 100-nanosecond units.

Stop

Stop time, in 100-nanosecond units.

Return Value

Returns one of the following HRESULT values:

Value Description
S_OK Success.
E_MUST_INIT_RENDERER Render engine failed to initialize.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also