Microsoft DirectX 9.0

CBaseRenderer::OnRenderStart

The OnRenderStart method is called when rendering is about to start.

Syntax

virtual void OnRenderStart(
    IMediaSample *pMediaSample
);

Parameters

pMediaSample

Pointer to the sample's IMediaSample interface.

Remarks

The CBaseRenderer::Render method calls this method. It does nothing in the base class, but the derived class can override it; for example, to collect quality-control data.

See Also