# C1.Util.DX.DXGI.SwapChain.Create

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DXGI_SwapChain_Create_" data-uid="C1.Util.DX.DXGI.SwapChain.Create*">Create Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DXGI_SwapChain_Create_" data-uid="C1.Util.DX.DXGI.SwapChain.Create*"></a>
<h4 id="C1_Util_DX_DXGI_SwapChain_Create_C1_Util_DX_DXGI_Factory_C1_Util_DX_ComObject_C1_Util_DX_DXGI_SwapChainDescription_" data-uid="C1.Util.DX.DXGI.SwapChain.Create(C1.Util.DX.DXGI.Factory,C1.Util.DX.ComObject,C1.Util.DX.DXGI.SwapChainDescription)">Create(Factory, ComObject, SwapChainDescription)</h4>
<div class="markdown level1 summary"><p>Creates a swap chain.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static SwapChain Create(Factory factory, ComObject device, SwapChainDescription description)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As Factory, device As ComObject, description As SwapChainDescription) As SwapChain</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.DXGI.Factory.html">Factory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>a reference to a <a class="xref" href="C1.Util.DX.DXGI.Factory.html">Factory</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></td>
      <td><span class="parametername">device</span></td>
      <td><p>A reference to the device that will write 2D images to the swap chain.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DXGI.SwapChainDescription.html">SwapChainDescription</a></td>
      <td><span class="parametername">description</span></td>
      <td><p>A reference to the swap-chain description (see <a class="xref" href="C1.Util.DX.DXGI.SwapChainDescription.html">SwapChainDescription</a>).</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><a class="xref" href="C1.Util.DX.DXGI.SwapChain.html">SwapChain</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
