ID2D1TransformGraph::ConnectToEffectInput method (d2d1effectauthor.h)
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.
[in] node
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.
HRESULT | Description |
---|---|
S_OK | No error occurred |
D2DERR_NOT_FOUND = (HRESULT_FROM_WIN32(ERROR_NOT_FOUND)) | Direct2D could not locate the specified node. |
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 | d2d1effectauthor.h |
Library | D2d1.lib |