Skip to main content
ID2D1SourceTransform::SetRenderInfo method

Sets the render information for the transform.

Syntax


HRESULT SetRenderInfo(
  [in]  ID2D1RenderInfo *renderInfo
);

Parameters

renderInfo [in]

Type: ID2D1RenderInfo*

The interface supplied to the transform to allow specifying the CPU based transform pass.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

Provides a render information interface to the source transform to allow it to specify state to the rendering system.

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

ID2D1SourceTransform
ID2D1EffectImpl