Share via


ID2D1DrawTransform::SetRenderInfo method

Applies to: desktop apps only

Sets the graphics processing unit (GPU) render information for the transform.

Syntax

HRESULT SetRenderInfo(
  [in]  ID2D1DrawInfo *renderInfo
);

Parameters

  • renderInfo [in]
    Type: ID2D1DrawInfo*

    The interface to specify the GPU-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

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 renderInfo interface. This is also used to determine whether the corresponding nodes in the graph are dirty.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D2d1effectauthor.h

Library

D2d1.lib

See also

ID2D1DrawTransform

ID2D1EffectImpl

 

 

Send comments about this topic to Microsoft

Build date: 9/5/2012