ID2D1TransformGraph::SetPassthroughGraph method (d2d1effectauthor.h)

Uses the specified input as the effect output.

Syntax

HRESULT SetPassthroughGraph(
  UINT32 effectInputIndex
);

Parameters

effectInputIndex

The index of the input to the effect.

Return value

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

See also

ID2D1TransformGraph