ID2D1TransformGraph::SetOutputNode method (d2d1effectauthor.h)

Sets the output node for the transform graph.

Syntax

HRESULT SetOutputNode(
  [in] ID2D1TransformNode *node
);

Parameters

[in] node

Type: ID2D1TransformNode*

The node that will be considered the output of the transform node.

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.

Remarks

The node must already exist in the graph; otherwise, the call fails with D2DERR_NOT_FOUND.

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

See also

ID2D1TransformGraph