[]
ID2D1ComputeTransform
[Guid("0d85573c-01e3-4f7d-bfd9-0d60608bf3c3")]
[Shadow(typeof(ComputeTransformShadow))]
public interface IComputeTransform : ITransform, ITransformNode, ICallbackable, IDisposable
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.
void CalculateThreadgroups(RectL outputRect, out int dimensionX, out int dimensionY, out int dimensionZ)
outputRect
RectLdimensionX
intdimensionY
intdimensionZ
intSets the render information used to specify the compute shader pass.
void SetComputeInfo(ComputeInformation computeInfo)
computeInfo
ComputeInformation