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.

ID2D1DrawTransform::SetDrawInfo method

Provides the GPU render info interface to the transform implementation.

Syntax


HRESULT SetDrawInfo(
  [in] ID2D1DrawInfo *drawInfo
);

Parameters

drawInfo [in]

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

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

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

ID2D1DrawTransform

 

 

Show:
© 2016 Microsoft