ID2D1ComputeTransform interface
Defines a transform that uses a compute shader.
When to implement
When implementing a transform using a compute shader.
Members
The ID2D1ComputeTransform interface inherits from ID2D1Transform. ID2D1ComputeTransform also has these types of members:
Methods
The ID2D1ComputeTransform interface has these methods.
| Method | Description |
|---|---|
| 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. |
| 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
|
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 |
|
|
Library |
|
See also