# C1.Util.DX.Direct2D.Effects.DiscreteTransfer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer" class="text-break">DiscreteTransfer Class
</h1>
  <div class="markdown level0 summary"><p>Builtin DiscreteTransfer effect.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><a class="xref" href="C1.Util.DX.Direct2D.Properties.html">Properties</a></div>
    <div class="level5"><a class="xref" href="C1.Util.DX.Direct2D.Effect.html">Effect</a></div>
    <div class="level6"><span class="xref">DiscreteTransfer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Direct2D.Effects.html">C1.Util.DX.Direct2D.Effects</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
  <h5 id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DiscreteTransfer : Effect, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DiscreteTransfer
    Inherits Effect
    Implements IDisposable, IUnknown</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_Effects_DiscreteTransfer__ctor_System_IntPtr_" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.-ctor.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer__ctor_System_IntPtr_">DiscreteTransfer(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.html">DiscreteTransfer</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_Effects_DiscreteTransfer_AlphaDisable" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.AlphaDisable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.AlphaDisable.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_AlphaDisable">AlphaDisable</a>
        </td>
        <td class="markdown level1 summary"><p>If you set this to TRUE the effect does not apply the transfer function to the Alpha channel. If you set this to FALSE the effect applies the AlphaDiscreteTransfer function to the Alpha channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_AlphaTable" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.AlphaTable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.AlphaTable.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_AlphaTable">AlphaTable</a>
        </td>
        <td class="markdown level1 summary"><p>The list of values that define the transfer function for the Alpha channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_BlueDisable" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.BlueDisable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.BlueDisable.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_BlueDisable">BlueDisable</a>
        </td>
        <td class="markdown level1 summary"><p>If you set this to TRUE the effect does not apply the transfer function to the Blue channel. If you set this to FALSE the effect applies the BlueDiscreteTransfer function to the Blue channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_BlueTable" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.BlueTable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.BlueTable.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_BlueTable">BlueTable</a>
        </td>
        <td class="markdown level1 summary"><p>The list of values that define the transfer function for the Blue channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_ClampOutput" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.ClampOutput">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.ClampOutput.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_ClampOutput">ClampOutput</a>
        </td>
        <td class="markdown level1 summary"><p>Whether the effect clamps color values to between 0 and 1 before the effect passes the values to the next effect in the graph. The effect clamps the values before it premultiplies the alpha .
if you set this to TRUE the effect will clamp the values.
If you set this to FALSE, the effect will not clamp the color values, but other effects and the output surface may clamp the values if they are not of high enough precision.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_GreenDisable" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.GreenDisable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.GreenDisable.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_GreenDisable">GreenDisable</a>
        </td>
        <td class="markdown level1 summary"><p>If you set this to TRUE the effect does not apply the transfer function to the Green channel. If you set this to FALSE the effect applies the GreenDiscreteTransfer function to the Green channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_GreenTable" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.GreenTable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.GreenTable.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_GreenTable">GreenTable</a>
        </td>
        <td class="markdown level1 summary"><p>The list of values that define the transfer function for the Green channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_RedDisable" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.RedDisable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.RedDisable.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_RedDisable">RedDisable</a>
        </td>
        <td class="markdown level1 summary"><p>If you set this to TRUE the effect does not apply the transfer function to the Red channel. If you set this to FALSE the effect applies the RedDiscreteTransfer function to the Red channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_DiscreteTransfer_RedTable" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.RedTable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.RedTable.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_RedTable">RedTable</a>
        </td>
        <td class="markdown level1 summary"><p>The list of values used to define the transfer function for the Red channel.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Effects_DiscreteTransfer_Create_C1_Util_DX_Direct2D_DeviceContext_" data-uid="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.Create(C1.Util.DX.Direct2D.DeviceContext)">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.Create.html#C1_Util_DX_Direct2D_Effects_DiscreteTransfer_Create_C1_Util_DX_Direct2D_DeviceContext_">Create(DeviceContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.Util.DX.Direct2D.Effects.DiscreteTransfer.html">DiscreteTransfer</a> effect.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
