|Microsoft DirectX 9.0|
The PrepareRender method is called before the filter renders a sample.
virtual void PrepareRender(void);
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.