Microsoft DirectX 9.0

CBaseRenderer::PrepareRender

The PrepareRender method is called before the filter renders a sample.

Syntax

virtual void PrepareRender(void);

Remarks

The filter calls this method before it calls the CBaseRenderer::OnReceiveFirstSample method or the CBaseRenderer::Render method. PrepareRender does not do anything in the base class. The derived class can override it to perform any actions required before rendering. For example, a video renderer can override this method to realize its palette.

See Also