ID2D1ComputeTransform interface (d2d1effectauthor.h)

Defines a transform that uses a compute shader.

Inheritance

The ID2D1ComputeTransform interface inherits from ID2D1Transform. ID2D1ComputeTransform also has these types of members:

Methods

The ID2D1ComputeTransform interface has these methods.

 
ID2D1ComputeTransform::CalculateThreadgroups

This method allows a compute-shader–based transform to select the number of thread groups to execute based on the number of output pixels it needs to fill.
ID2D1ComputeTransform::SetComputeInfo

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

Remarks

The transform implements the normal Shatzis methods by implementing ID2D1Transform. In addition, the caller is passed an ID2D1ComputeInfo to describe the compute pass that the transform should execute.

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

See also

ID2D1Transform