ID2D1Effect::SetInput method (d2d1_1.h)

Sets the given input image by index.

Syntax

void SetInput(
                 UINT32     index,
  [in, optional] ID2D1Image *input,
                 BOOL       invalidate
);

Parameters

index

Type: UINT32

The index of the image to set.

[in, optional] input

Type: ID2D1Image*

The input image to set.

invalidate

Type: BOOL

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

Return value

None

Remarks

If the input index is out of range, the input image is ignored.

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