# C1.Util.DX.DXGI.SwapChain1.Present1

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DXGI_SwapChain1_Present1_" data-uid="C1.Util.DX.DXGI.SwapChain1.Present1*">Present1 Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DXGI_SwapChain1_Present1_" data-uid="C1.Util.DX.DXGI.SwapChain1.Present1*"></a>
<h4 id="C1_Util_DX_DXGI_SwapChain1_Present1_System_Int32_C1_Util_DX_DXGI_PresentFlags_C1_Util_DX_RectL___" data-uid="C1.Util.DX.DXGI.SwapChain1.Present1(System.Int32,C1.Util.DX.DXGI.PresentFlags,C1.Util.DX.RectL[])">Present1(int, PresentFlags, RectL[])</h4>
<div class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::Present1([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS PresentFlags,[In] const void* pPresentParameters)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Present1(int syncInterval, PresentFlags presentFlags, RectL[] dirtyRectangles)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Present1(syncInterval As Integer, presentFlags As PresentFlags, dirtyRectangles As RectL()) As Boolean</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">syncInterval</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DXGI.PresentFlags.html">PresentFlags</a></td>
      <td><span class="parametername">presentFlags</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.RectL.html">RectL</a>[]</td>
      <td><span class="parametername">dirtyRectangles</span></td>
      <td></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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_DXGI_SwapChain1_Present1_" data-uid="C1.Util.DX.DXGI.SwapChain1.Present1*"></a>
<h4 id="C1_Util_DX_DXGI_SwapChain1_Present1_System_Int32_C1_Util_DX_DXGI_PresentFlags_C1_Util_DX_DXGI_PresentParameters__" data-uid="C1.Util.DX.DXGI.SwapChain1.Present1(System.Int32,C1.Util.DX.DXGI.PresentFlags,C1.Util.DX.DXGI.PresentParameters@)">Present1(int, PresentFlags, ref PresentParameters)</h4>
<div class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::Present1([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS PresentFlags,[In] const void* pPresentParameters)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Present1(int syncInterval, PresentFlags presentFlags, ref PresentParameters presentParameters)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Present1(syncInterval As Integer, presentFlags As PresentFlags, ByRef presentParameters As PresentParameters) As Boolean</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">syncInterval</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DXGI.PresentFlags.html">PresentFlags</a></td>
      <td><span class="parametername">presentFlags</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DXGI.PresentParameters.html">PresentParameters</a></td>
      <td><span class="parametername">presentParameters</span></td>
      <td></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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
