EN
本內容沒有您的語言版本,但有英文版本。

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.

MethodDescription
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 ID2D1ComputeRenderInfo 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

D2d1effectauthor.h

Library

D2d1.lib

See also

ID2D1Transform

 

 

社群新增項目

新增
顯示:
© 2014 Microsoft