ID2D1Effect::SetInputEffect method (d2d1_1.h)

Sets the given input effect by index.

This method gets the output of the given effect and then passes the output image to the SetInput method.

Syntax

void SetInputEffect(
                 UINT32      index,
  [in, optional] ID2D1Effect *inputEffect,
                 BOOL        invalidate
);

Parameters

index

The index of the input to set.

[in, optional] inputEffect

The input effect to set.

invalidate

Whether to invalidate the graph at the location of the effect input

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_1.h
DLL D2d1.dll

See also

ID2D1DeviceContext::CreateEffect

ID2D1Effect

ID2D1Effect::GetOutput

ID2D1Image