Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SwapChain"/> class.
 /// </summary>
 /// <param name="device">The device.</param>
 /// <param name="presentParameters">The present parameters.</param>
 /// <unmanaged>HRESULT IDirect3DDevice9::CreateAdditionalSwapChain([In] D3DPRESENT_PARAMETERS* pPresentationParameters,[In] IDirect3DSwapChain9** pSwapChain)</unmanaged>
 public SwapChain(Device device, PresentParameters presentParameters)
 {
     device.CreateAdditionalSwapChain(ref presentParameters, this);
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SwapChain"/> class.
 /// </summary>
 /// <param name="device">The device.</param>
 /// <param name="presentParameters">The present parameters.</param>
 /// <unmanaged>HRESULT IDirect3DDevice9::CreateAdditionalSwapChain([In] D3DPRESENT_PARAMETERS* pPresentationParameters,[In] IDirect3DSwapChain9** pSwapChain)</unmanaged>
 public SwapChain(Device device, PresentParameters presentParameters)
 {
     device.CreateAdditionalSwapChain(ref presentParameters, this);
 }