ID2D1ComputeTransform::SetComputeInfo method

Sets the render information used to specify the compute shader pass.

Syntax


HRESULT SetComputeInfo(
  [in]  ID2D1ComputeInfo *computeInfo
);

Parameters

computeInfo [in]

Type: ID2D1ComputeInfo*

The render information object to set.

Return value

Type: HRESULT

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

Remarks

If this method fails, ID2D1TransformGraph::AddNode fails.

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

ID2D1ComputeTransform
ID2D1EffectContext::LoadComputeShader

 

 

Community Additions

ADD
Show:
© 2014 Microsoft