# C1.Util.DX.Direct3D11.StencilOperation

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Util_DX_Direct3D11_StencilOperation" data-uid="C1.Util.DX.Direct3D11.StencilOperation" class="text-break">StencilOperation Enum
</h1>
  <div class="markdown level0 summary"><p>D3D11_STENCIL_OP</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Direct3D11.html">C1.Util.DX.Direct3D11</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_Direct3D11_StencilOperation_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum StencilOperation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum StencilOperation</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Util_DX_Direct3D11_StencilOperation_Decrement">Decrement</td>
        <td><p>D3D11_STENCIL_OP_DECR</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_StencilOperation_DecrementAndClamp">DecrementAndClamp</td>
        <td><p>D3D11_STENCIL_OP_DECR_SAT</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_StencilOperation_Increment">Increment</td>
        <td><p>D3D11_STENCIL_OP_INCR</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_StencilOperation_IncrementAndClamp">IncrementAndClamp</td>
        <td><p>D3D11_STENCIL_OP_INCR_SAT</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_StencilOperation_Invert">Invert</td>
        <td><p>D3D11_STENCIL_OP_INVERT</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_StencilOperation_Keep">Keep</td>
        <td><p>D3D11_STENCIL_OP_KEEP</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_StencilOperation_Replace">Replace</td>
        <td><p>D3D11_STENCIL_OP_REPLACE</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_StencilOperation_Zero">Zero</td>
        <td><p>D3D11_STENCIL_OP_ZERO</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
