IPixelHistoryRequest2::RequestIntersections method

Requests a list of events that cause a change in the specified pixel, render target / UAV, and frame.

Syntax

HRESULT RequestIntersections(
   DWORD                    frameNumber,
   Point2D                  pixel,
   DWORD                    renderTargetPtr,
   IPixelHistoryCallback2 * requestCallback,
   DWORD                    requestCookie,
   DWORD                    progressIntervalMsecs
);

Parameters

frameNumber
The specified frame.

pixel
The specified pixel.

renderTargetPtr
The address of the specified render target

requestCallback
The address of callback used to notify 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

IPixelHistoryRequest2