# C1.Util.DX.Direct3D11.CommonShaderStage-1.Get

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct3D11_CommonShaderStage_1_Get_" data-uid="C1.Util.DX.Direct3D11.CommonShaderStage`1.Get*">Get Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct3D11_CommonShaderStage_1_Get_" data-uid="C1.Util.DX.Direct3D11.CommonShaderStage`1.Get*"></a>
<h4 id="C1_Util_DX_Direct3D11_CommonShaderStage_1_Get" data-uid="C1.Util.DX.Direct3D11.CommonShaderStage`1.Get">Get()</h4>
<div class="markdown level1 summary"><p>Gets the shader currently assigned to the device.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public T Get()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function [Get]() As T</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">T</span></td>
      <td><p>The shader (null if no shader is assigned).</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct3D11_CommonShaderStage_1_Get_" data-uid="C1.Util.DX.Direct3D11.CommonShaderStage`1.Get*"></a>
<h4 id="C1_Util_DX_Direct3D11_CommonShaderStage_1_Get_C1_Util_DX_Direct3D11_ClassInstance___" data-uid="C1.Util.DX.Direct3D11.CommonShaderStage`1.Get(C1.Util.DX.Direct3D11.ClassInstance[])">Get(ClassInstance[])</h4>
<div class="markdown level1 summary"><p>Gets the shader currently assigned to the device.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public T Get(ClassInstance[] classInstances)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function [Get](classInstances As ClassInstance()) As T</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.ClassInstance.html">ClassInstance</a>[]</td>
      <td><span class="parametername">classInstances</span></td>
      <td><p>An array that will be used to contain any class instances currently active.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">T</span></td>
      <td><p>The shader (null if no shader is assigned).</p>
</td>
    </tr>
  </tbody>
</table>
</div>
