ID2D1Effect::SetInputEffect method

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 *input,
                 BOOL        invalidate = TRUE
);

Parameters

index

The index of the input to set.

input [in, optional]

The input effect to set.

invalidate

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

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

DLL

D2d1.dll

See also

ID2D1Effect
ID2D1DeviceContext::CreateEffect
ID2D1Image
ID2D1Effect::GetOutput

 

 

Show: