# C1.Util.DX.DXGI.SwapChain1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DXGI_SwapChain1" data-uid="C1.Util.DX.DXGI.SwapChain1" class="text-break">SwapChain1 Class
</h1>
  <div class="markdown level0 summary"><p>IDXGISwapChain1</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.DXGI.DXGIObject.html">DXGIObject</a></div>
    <div class="level5"><a class="xref" href="C1.Util.DX.DXGI.DeviceChild.html">DeviceChild</a></div>
    <div class="level6"><a class="xref" href="C1.Util.DX.DXGI.SwapChain.html">SwapChain</a></div>
    <div class="level7"><span class="xref">SwapChain1</span></div>
      <div class="level8"><a class="xref" href="C1.Util.DX.DXGI.SwapChain2.html">SwapChain2</a></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.DXGI.html">C1.Util.DX.DXGI</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_DXGI_SwapChain1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;790a45f7-0d42-4876-983a-0a55cfe6f4aa&quot;)]
public class SwapChain1 : SwapChain, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;790a45f7-0d42-4876-983a-0a55cfe6f4aa&quot;)&gt;
Public Class SwapChain1
    Inherits SwapChain
    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_DXGI_SwapChain1__ctor_System_IntPtr_" data-uid="C1.Util.DX.DXGI.SwapChain1.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.-ctor.html#C1_Util_DX_DXGI_SwapChain1__ctor_System_IntPtr_">SwapChain1(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.html">SwapChain1</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_DXGI_SwapChain1_Description1" data-uid="C1.Util.DX.DXGI.SwapChain1.Description1">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.Description1.html#C1_Util_DX_DXGI_SwapChain1_Description1">Description1</a>
        </td>
        <td class="markdown level1 summary"><p>GetDescription1</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_FullScreenDescription" data-uid="C1.Util.DX.DXGI.SwapChain1.FullScreenDescription">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.FullScreenDescription.html#C1_Util_DX_DXGI_SwapChain1_FullScreenDescription">FullScreenDescription</a>
        </td>
        <td class="markdown level1 summary"><p>GetFullScreenDescription</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_DXGI_SwapChain1_GetBackgroundColor" data-uid="C1.Util.DX.DXGI.SwapChain1.GetBackgroundColor">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.GetBackgroundColor.html#C1_Util_DX_DXGI_SwapChain1_GetBackgroundColor">GetBackgroundColor()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::GetBackgroundColor([Out] D3DCOLORVALUE* pColor)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_GetCoreWindow_System_Guid_" data-uid="C1.Util.DX.DXGI.SwapChain1.GetCoreWindow(System.Guid)">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.GetCoreWindow.html#C1_Util_DX_DXGI_SwapChain1_GetCoreWindow_System_Guid_">GetCoreWindow(Guid)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::GetCoreWindow([In] const GUID&amp; refiid,[Out] void** ppUnk)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_GetDescription1_C1_Util_DX_DXGI_SwapChainDescription1__" data-uid="C1.Util.DX.DXGI.SwapChain1.GetDescription1(C1.Util.DX.DXGI.SwapChainDescription1@)">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.GetDescription1.html#C1_Util_DX_DXGI_SwapChain1_GetDescription1_C1_Util_DX_DXGI_SwapChainDescription1__">GetDescription1(out SwapChainDescription1)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::GetDesc1([Out] DXGI_SWAP_CHAIN_DESC1* pDesc)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_GetFullScreenDescription_C1_Util_DX_DXGI_SwapChainFullScreenDescription__" data-uid="C1.Util.DX.DXGI.SwapChain1.GetFullScreenDescription(C1.Util.DX.DXGI.SwapChainFullScreenDescription@)">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.GetFullScreenDescription.html#C1_Util_DX_DXGI_SwapChain1_GetFullScreenDescription_C1_Util_DX_DXGI_SwapChainFullScreenDescription__">GetFullScreenDescription(out SwapChainFullScreenDescription)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::GetFullScreenDesc([Out] DXGI_SWAP_CHAIN_FULLSCREEN_DESC* pDesc)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_GetHwnd" data-uid="C1.Util.DX.DXGI.SwapChain1.GetHwnd">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.GetHwnd.html#C1_Util_DX_DXGI_SwapChain1_GetHwnd">GetHwnd()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::GetHwnd([Out] HWND* pHwnd)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_GetRestrictToOutput" data-uid="C1.Util.DX.DXGI.SwapChain1.GetRestrictToOutput">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.GetRestrictToOutput.html#C1_Util_DX_DXGI_SwapChain1_GetRestrictToOutput">GetRestrictToOutput()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::GetRestrictToOutput([Out] IDXGIOutput** ppRestrictToOutput)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_GetRotation" data-uid="C1.Util.DX.DXGI.SwapChain1.GetRotation">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.GetRotation.html#C1_Util_DX_DXGI_SwapChain1_GetRotation">GetRotation()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::GetRotation([Out] DXGI_MODE_ROTATION* pRotation)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_IsTemporaryMonoSupported" data-uid="C1.Util.DX.DXGI.SwapChain1.IsTemporaryMonoSupported">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.IsTemporaryMonoSupported.html#C1_Util_DX_DXGI_SwapChain1_IsTemporaryMonoSupported">IsTemporaryMonoSupported()</a>
        </td>
        <td class="markdown level1 summary"><p>BOOL IDXGISwapChain1::IsTemporaryMonoSupported()</p>
</td>
      </tr>
      <tr>
        <td 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@)">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.Present1.html#C1_Util_DX_DXGI_SwapChain1_Present1_System_Int32_C1_Util_DX_DXGI_PresentFlags_C1_Util_DX_DXGI_PresentParameters__">Present1(int, PresentFlags, ref PresentParameters)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::Present1([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS PresentFlags,[In] const void* pPresentParameters)</p>
</td>
      </tr>
      <tr>
        <td 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[])">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.Present1.html#C1_Util_DX_DXGI_SwapChain1_Present1_System_Int32_C1_Util_DX_DXGI_PresentFlags_C1_Util_DX_RectL___">Present1(int, PresentFlags, RectL[])</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::Present1([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS PresentFlags,[In] const void* pPresentParameters)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_SetBackgroundColor_C1_Util_DX_ColorF_" data-uid="C1.Util.DX.DXGI.SwapChain1.SetBackgroundColor(C1.Util.DX.ColorF)">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.SetBackgroundColor.html#C1_Util_DX_DXGI_SwapChain1_SetBackgroundColor_C1_Util_DX_ColorF_">SetBackgroundColor(ColorF)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::SetBackgroundColor([In] const D3DCOLORVALUE* pColor)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DXGI_SwapChain1_SetRotation_C1_Util_DX_DXGI_DisplayModeRotation_" data-uid="C1.Util.DX.DXGI.SwapChain1.SetRotation(C1.Util.DX.DXGI.DisplayModeRotation)">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.SetRotation.html#C1_Util_DX_DXGI_SwapChain1_SetRotation_C1_Util_DX_DXGI_DisplayModeRotation_">SetRotation(DisplayModeRotation)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::SetRotation([In] DXGI_MODE_ROTATION Rotation)</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_DXGI_SwapChain1_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_SwapChain1" data-uid="C1.Util.DX.DXGI.SwapChain1.op_Explicit(System.IntPtr)~C1.Util.DX.DXGI.SwapChain1">
          <a class="xref" href="C1.Util.DX.DXGI.SwapChain1.op_Explicit.html#C1_Util_DX_DXGI_SwapChain1_op_Explicit_System_IntPtr__C1_Util_DX_DXGI_SwapChain1">explicit operator SwapChain1(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.DXGI.SwapChain1.html">SwapChain1</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
