# C1.Util.DX.Direct2D.Effects.GammaTransfer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Direct2D_Effects_GammaTransfer" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer" class="text-break">GammaTransfer Class
</h1>
  <div class="markdown level0 summary"><p>Builtin GammaTransfer 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">GammaTransfer</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.10.dll</h6>
  <h5 id="C1_Util_DX_Direct2D_Effects_GammaTransfer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GammaTransfer : Effect, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GammaTransfer
    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_GammaTransfer__ctor_System_IntPtr_" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.-ctor.html#C1_Util_DX_Direct2D_Effects_GammaTransfer__ctor_System_IntPtr_">GammaTransfer(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.html">GammaTransfer</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_GammaTransfer_AlphaAmplitude" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.AlphaAmplitude">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.AlphaAmplitude.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_AlphaAmplitude">AlphaAmplitude</a>
        </td>
        <td class="markdown level1 summary"><p>The amplitude of the gamma transfer function for the Alpha channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_AlphaDisable" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.AlphaDisable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.AlphaDisable.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_AlphaDisable">AlphaDisable</a>
        </td>
        <td class="markdown level1 summary"><p>If you set this to TRUE it does not apply the transfer function to the Alpha channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Alpha channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_AlphaExponent" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.AlphaExponent">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.AlphaExponent.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_AlphaExponent">AlphaExponent</a>
        </td>
        <td class="markdown level1 summary"><p>The exponent of the gamma transfer function for the Alpha channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_AlphaOffset" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.AlphaOffset">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.AlphaOffset.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_AlphaOffset">AlphaOffset</a>
        </td>
        <td class="markdown level1 summary"><p>The offset of the gamma transfer function for the Alpha channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_BlueAmplitude" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.BlueAmplitude">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.BlueAmplitude.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_BlueAmplitude">BlueAmplitude</a>
        </td>
        <td class="markdown level1 summary"><p>The amplitude of the gamma transfer function for the Blue channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_BlueDisable" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.BlueDisable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.BlueDisable.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_BlueDisable">BlueDisable</a>
        </td>
        <td class="markdown level1 summary"><p>If you set this to TRUE it does not apply the transfer function to the Blue channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Blue channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_BlueExponent" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.BlueExponent">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.BlueExponent.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_BlueExponent">BlueExponent</a>
        </td>
        <td class="markdown level1 summary"><p>The exponent of the gamma transfer function for the Blue channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_BlueOffset" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.BlueOffset">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.BlueOffset.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_BlueOffset">BlueOffset</a>
        </td>
        <td class="markdown level1 summary"><p>The offset of the gamma transfer function for the Blue channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_ClampOutput" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.ClampOutput">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.ClampOutput.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_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_GammaTransfer_GreenAmplitude" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.GreenAmplitude">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.GreenAmplitude.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_GreenAmplitude">GreenAmplitude</a>
        </td>
        <td class="markdown level1 summary"><p>The amplitude of the gamma transfer function for the Green channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_GreenDisable" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.GreenDisable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.GreenDisable.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_GreenDisable">GreenDisable</a>
        </td>
        <td class="markdown level1 summary"><p>If you set this to TRUE it does not apply the transfer function to the Green channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Green channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_GreenExponent" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.GreenExponent">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.GreenExponent.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_GreenExponent">GreenExponent</a>
        </td>
        <td class="markdown level1 summary"><p>The exponent of the gamma transfer function for the Green channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_GreenOffset" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.GreenOffset">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.GreenOffset.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_GreenOffset">GreenOffset</a>
        </td>
        <td class="markdown level1 summary"><p>The offset of the gamma transfer function for the Green channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_RedAmplitude" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.RedAmplitude">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.RedAmplitude.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_RedAmplitude">RedAmplitude</a>
        </td>
        <td class="markdown level1 summary"><p>The amplitude of the gamma transfer function for the Red channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_RedDisable" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.RedDisable">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.RedDisable.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_RedDisable">RedDisable</a>
        </td>
        <td class="markdown level1 summary"><p>If you set this to TRUE it does not apply the transfer function to the Red channel. An identity transfer function is used. If you set this to FALSE it applies the gamma transfer function to the Red channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_RedExponent" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.RedExponent">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.RedExponent.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_RedExponent">RedExponent</a>
        </td>
        <td class="markdown level1 summary"><p>The exponent of the gamma transfer function for the Red channel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_Effects_GammaTransfer_RedOffset" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.RedOffset">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.RedOffset.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_RedOffset">RedOffset</a>
        </td>
        <td class="markdown level1 summary"><p>The offset of the gamma 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_GammaTransfer_Create_C1_Util_DX_Direct2D_DeviceContext_" data-uid="C1.Util.DX.Direct2D.Effects.GammaTransfer.Create(C1.Util.DX.Direct2D.DeviceContext)">
          <a class="xref" href="C1.Util.DX.Direct2D.Effects.GammaTransfer.Create.html#C1_Util_DX_Direct2D_Effects_GammaTransfer_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.GammaTransfer.html">GammaTransfer</a> effect.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
