Microsoft DirectX 9.0 |
The OnRenderStart method sets information for rendering.
Syntax
void OnRenderStart(
IMediaSample *pMediaSample
);
Parameters
pMediaSample
Pointer to the media sample.
Return Value
No return value.
Remarks
This member function retrieves the current clock time from the system and stores it in a member variable to be used when the drawing is complete. The function also performs performance logging. This member function should be called just before drawing starts.
This member function overrides CBaseRenderer::OnRenderStart.
See Also