Microsoft DirectX 8.1 (C++)

CDrawImage::FastRender

The FastRender method draws the sample image using the Microsoft Win32 BitBlt and StretchBlt functions.

Syntax

void FastRender(
    IMediaSample *pMediaSample
);

Parameters

pMediaSample

Pointer to the sample to draw.

Return Value

No return value.

Remarks

This protected member function is called by CDrawImage with a sample that contains an image buffer. The image buffer must have been allocated through the Win32 CreateDIBSection function and by a CImageAllocator object (or derived class). There are some performance benefits from drawing images created through this mechanism.

See Also