Export (0) Print
Expand All

CDXBaseSurface::OnSurfacePick Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Determines whether any part of the surface is located at the specified point.

Syntax


virtual HRESULT OnSurfacePick(
    const CDXDBnds &OutPoint,
    ULONG &ulInputIndex,
    CDXDVec &InVec
) = 0;

Parameters

OutPoint
Coordinates of the point on the output surface to test.
ulInputIndex
Not used for procedural surfaces.
InVec
Not used for procedural surfaces.

Return Value

If the sample in the output space has an alpha value greater than zero, DXT_S_HITOUTPUT should be returned. Otherwise, S_FALSE should be returned, indicating a miss.

Remarks

Procedural surfaces can only know if there is a sample located at the specified point. There is no input surface to map the point back to, so ulInputIndex and InVec should return NULL.

See Also

IDXSurfacePick

Community Additions

ADD
Show:
© 2015 Microsoft