ID2D1DrawTransform::SetDrawInfo method (d2d1effectauthor.h)

Provides the GPU render info interface to the transform implementation.

Syntax

HRESULT SetDrawInfo(
  [in] ID2D1DrawInfo *drawInfo
);

Parameters

[in] drawInfo

Type: ID2D1DrawInfo*

The interface supplied back to the calling method to allow it to specify the GPU based transform pass.

Return value

Type: HRESULT

Any HRESULT value can be returned when implementing this method. A failure will be returned from the corresponding ID2D1DeviceContext::EndDraw call.

Remarks

The transform can maintain a reference to this interface for its lifetime. If any properties change on the transform, it can apply these changes to the corresponding drawInfo interface.

This is also used to determine that the corresponding nodes in the graph are dirty.

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

ID2D1DrawTransform