Skip to main content
ID2D1TransformGraph::ConnectToEffectInput method

Connects a transform node inside the graph to the corresponding effect input of the encapsulating effect.

Syntax


HRESULT ConnectToEffectInput(
  UINT32 toEffectInputIndex,
  [in]  ID2D1TransformNode *node,
  UINT32 toNodeInputIndex
);

Parameters

toEffectInputIndex

Type: UINT32

The effect input to which the transform node will be bound.

node [in]

Type: ID2D1TransformNode*

The node to which the connection will be made.

toNodeInputIndex

Type: UINT32

The node input that will be connected.

Return value

Type: HRESULT

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

HRESULTDescription
S_OKNo error occurred
D2DERR_NOT_FOUND = (HRESULT_FROM_WIN32(ERROR_NOT_FOUND))Direct2D could not locate the specified node.

 

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

D2d1effectauthor.h

Library

D2d1.lib

See also

ID2D1TransformGraph