# C1.Util.DX.Direct2D.ComputeTransform

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Direct2D_ComputeTransform" data-uid="C1.Util.DX.Direct2D.ComputeTransform" class="text-break">ComputeTransform Interface
</h1>
  <div class="markdown level0 summary"><p>ID2D1ComputeTransform</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Direct2D.html">C1.Util.DX.Direct2D</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_Direct2D_ComputeTransform_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;0d85573c-01e3-4f7d-bfd9-0d60608bf3c3&quot;)]
[Shadow(typeof(ComputeTransformShadow))]
public interface ComputeTransform : Transform, TransformNode, ICallbackable, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;0d85573c-01e3-4f7d-bfd9-0d60608bf3c3&quot;)&gt;
&lt;Shadow(GetType(ComputeTransformShadow))&gt;
Public Interface ComputeTransform
    Inherits Transform, TransformNode, ICallbackable, IDisposable</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Direct2D_ComputeTransform_CalculateThreadgroups_C1_Util_DX_RectL_System_Int32__System_Int32__System_Int32__" data-uid="C1.Util.DX.Direct2D.ComputeTransform.CalculateThreadgroups(C1.Util.DX.RectL,System.Int32@,System.Int32@,System.Int32@)">
          <a class="xref" href="C1.Util.DX.Direct2D.ComputeTransform.CalculateThreadgroups.html#C1_Util_DX_Direct2D_ComputeTransform_CalculateThreadgroups_C1_Util_DX_RectL_System_Int32__System_Int32__System_Int32__">CalculateThreadgroups(RectL, out int, out int, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>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.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_ComputeTransform_SetComputeInfo_C1_Util_DX_Direct2D_ComputeInformation_" data-uid="C1.Util.DX.Direct2D.ComputeTransform.SetComputeInfo(C1.Util.DX.Direct2D.ComputeInformation)">
          <a class="xref" href="C1.Util.DX.Direct2D.ComputeTransform.SetComputeInfo.html#C1_Util_DX_Direct2D_ComputeTransform_SetComputeInfo_C1_Util_DX_Direct2D_ComputeInformation_">SetComputeInfo(ComputeInformation)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the render information used to specify the compute shader pass.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
