# C1.Util.DX.Direct3D11.DepthStencilView

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Direct3D11_DepthStencilView" data-uid="C1.Util.DX.Direct3D11.DepthStencilView" class="text-break">DepthStencilView Class
</h1>
  <div class="markdown level0 summary"><p>ID3D11DepthStencilView</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.Direct3D11.DeviceChild.html">DeviceChild</a></div>
    <div class="level5"><a class="xref" href="C1.Util.DX.Direct3D11.ResourceView.html">ResourceView</a></div>
    <div class="level6"><span class="xref">DepthStencilView</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.Direct3D11.html">C1.Util.DX.Direct3D11</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
  <h5 id="C1_Util_DX_Direct3D11_DepthStencilView_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;9fdac92a-1876-48c3-afad-25b94f84a9b6&quot;)]
public class DepthStencilView : ResourceView, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;9fdac92a-1876-48c3-afad-25b94f84a9b6&quot;)&gt;
Public Class DepthStencilView
    Inherits ResourceView
    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_Direct3D11_DepthStencilView__ctor_System_IntPtr_" data-uid="C1.Util.DX.Direct3D11.DepthStencilView.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.-ctor.html#C1_Util_DX_Direct3D11_DepthStencilView__ctor_System_IntPtr_">DepthStencilView(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.html">DepthStencilView</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_Direct3D11_DepthStencilView_Description" data-uid="C1.Util.DX.Direct3D11.DepthStencilView.Description">
          <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.Description.html#C1_Util_DX_Direct3D11_DepthStencilView_Description">Description</a>
        </td>
        <td class="markdown level1 summary"><p>GetDescription</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_Direct3D11_DepthStencilView_Create_C1_Util_DX_Direct3D11_Device_C1_Util_DX_Direct3D11_Resource_" data-uid="C1.Util.DX.Direct3D11.DepthStencilView.Create(C1.Util.DX.Direct3D11.Device,C1.Util.DX.Direct3D11.Resource)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.Create.html#C1_Util_DX_Direct3D11_DepthStencilView_Create_C1_Util_DX_Direct3D11_Device_C1_Util_DX_Direct3D11_Resource_">Create(Device, Resource)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.html">DepthStencilView</a> for accessing resource data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_DepthStencilView_Create_C1_Util_DX_Direct3D11_Device_C1_Util_DX_Direct3D11_Resource_C1_Util_DX_Direct3D11_DepthStencilViewDescription_" data-uid="C1.Util.DX.Direct3D11.DepthStencilView.Create(C1.Util.DX.Direct3D11.Device,C1.Util.DX.Direct3D11.Resource,C1.Util.DX.Direct3D11.DepthStencilViewDescription)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.Create.html#C1_Util_DX_Direct3D11_DepthStencilView_Create_C1_Util_DX_Direct3D11_Device_C1_Util_DX_Direct3D11_Resource_C1_Util_DX_Direct3D11_DepthStencilViewDescription_">Create(Device, Resource, DepthStencilViewDescription)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.html">DepthStencilView</a> for accessing resource data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct3D11_DepthStencilView_GetDescription_C1_Util_DX_Direct3D11_DepthStencilViewDescription__" data-uid="C1.Util.DX.Direct3D11.DepthStencilView.GetDescription(C1.Util.DX.Direct3D11.DepthStencilViewDescription@)">
          <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.GetDescription.html#C1_Util_DX_Direct3D11_DepthStencilView_GetDescription_C1_Util_DX_Direct3D11_DepthStencilViewDescription__">GetDescription(out DepthStencilViewDescription)</a>
        </td>
        <td class="markdown level1 summary"><p>void ID3D11DepthStencilView::GetDesc([Out] D3D11_DEPTH_STENCIL_VIEW_DESC* pDesc)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</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_Direct3D11_DepthStencilView_op_Explicit_System_IntPtr__C1_Util_DX_Direct3D11_DepthStencilView" data-uid="C1.Util.DX.Direct3D11.DepthStencilView.op_Explicit(System.IntPtr)~C1.Util.DX.Direct3D11.DepthStencilView">
          <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.op_Explicit.html#C1_Util_DX_Direct3D11_DepthStencilView_op_Explicit_System_IntPtr__C1_Util_DX_Direct3D11_DepthStencilView">explicit operator DepthStencilView(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a> to <a class="xref" href="C1.Util.DX.Direct3D11.DepthStencilView.html">DepthStencilView</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
