Partager via


SetLookup method

Sets the interface to use for color lookup table operations on the foreground surface.

Syntax

HRESULT retVal = object.SetLookup(pLookupTable);

Parameters

Remarks

To set a lookup table for a Surface Modifier, you must first build one with the IDXLUTBuilder interface and retrieve from it a pointer to an IDXLookupTable interface. To clear a previous lookup table selection, call this method with a NULL pointer.

The lookup table is applied to the foreground surface only.

See also

IDXSurfaceModifier::GetLookup