Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | UWP apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP 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

 

 

Show:
© 2018 Microsoft