ID2D1ComputeTransform::SetComputeInfo method (d2d1effectauthor.h)
Sets the render information used to specify the compute shader pass.
Syntax
HRESULT SetComputeInfo(
[in] ID2D1ComputeInfo *computeInfo
);
Parameters
[in] computeInfo
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
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 |