# C1.Util.DX.Direct3D11.DeviceContext1.GSGetConstantBuffers1

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct3D11_DeviceContext1_GSGetConstantBuffers1_" data-uid="C1.Util.DX.Direct3D11.DeviceContext1.GSGetConstantBuffers1*">GSGetConstantBuffers1 Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct3D11_DeviceContext1_GSGetConstantBuffers1_" data-uid="C1.Util.DX.Direct3D11.DeviceContext1.GSGetConstantBuffers1*"></a>
<h4 id="C1_Util_DX_Direct3D11_DeviceContext1_GSGetConstantBuffers1_System_Int32_System_Int32_C1_Util_DX_Direct3D11_Buffer___System_Int32___System_Int32___" data-uid="C1.Util.DX.Direct3D11.DeviceContext1.GSGetConstantBuffers1(System.Int32,System.Int32,C1.Util.DX.Direct3D11.Buffer[],System.Int32[],System.Int32[])">GSGetConstantBuffers1(int, int, Buffer[], int[], int[])</h4>
<div class="markdown level1 summary"><p>void ID3D11DeviceContext1::GSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GSGetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GSGetConstantBuffers1(startSlot As Integer, numBuffers As Integer, constantBuffersOut As Buffer(), firstConstantRef As Integer(), numConstantsRef As Integer())</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">startSlot</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">numBuffers</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.Buffer.html">Buffer</a>[]</td>
      <td><span class="parametername">constantBuffersOut</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[]</td>
      <td><span class="parametername">firstConstantRef</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[]</td>
      <td><span class="parametername">numConstantsRef</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
