ID2D1Effect::SetInput method

Sets the given input image by index.

Syntax

void SetInput(
  UINT32     index,
  ID2D1Image *input,
  BOOL       invalidate
);

Parameters

index

Type: UINT32

The index of the image to set.

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

This method does not return a value.

Remarks

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

Requirements

   
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