IPixelHistoryRequest::RequestAsync method

Requests a list of pixel history results in the specified pixel, render tartget /UAV, and frame.

Syntax

HRESULT RequestAsync(
   DWORD                   frameNumber,
   Point2D                 pixel,
   DWORD                   renderTargetPtr,
   IPixelHistoryCallback * requestCallback,
   DWORD                   requestCookie,
   DWORD                   progressIntervalMsecs
);

Parameters

frameNumber
The specified frame.

pixel
The specified pixel.

renderTargetPtr
The specified render target.

requestCallback
The address of a callback used to notifify the host of results.

requestCookie
A cookie that uniquely identifies the request, and can be used to signal for it to be cancelled.

progressIntervalMsecs
Not used.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

IPixelHistoryRequest