[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.SwapChain

SwapChain Class

IDXGISwapChain

Implements
Namespace: C1.Util.DX.DXGI
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("310d36a0-d2e7-4c0a-aa04-6a9d23b8886a")]
public class SwapChain : DeviceChild, IDisposable, IUnknown

Constructors

Name Description
SwapChain(IntPtr)

Initializes a new instance of the SwapChain class.

Properties

Name Description
Description

GetDescription

IsFullScreen

Gets or sets a value indicating whether the swapchain is in fullscreen.

Methods

Name Description
Create(Factory, ComObject, SwapChainDescription)

Creates a swap chain.

GetBackBuffer<T>(int)

Access one of the swap-chain back buffers.

GetBuffer(int, Guid)

HRESULT IDXGISwapChain::GetBuffer([In] unsigned int Buffer,[In] const GUID& riid,[Out] void** ppSurface)

GetContainingOutput()

HRESULT IDXGISwapChain::GetContainingOutput([Out] IDXGIOutput** ppOutput)

GetDescription(out SwapChainDescription)

HRESULT IDXGISwapChain::GetDesc([Out] DXGI_SWAP_CHAIN_DESC* pDesc)

GetFrameStatistics(out FrameStatistics)

HRESULT IDXGISwapChain::GetFrameStatistics([Out] DXGI_FRAME_STATISTICS* pStats)

GetFullscreenState(out Bool, out Output)

HRESULT IDXGISwapChain::GetFullscreenState([Out, Optional] BOOL* pFullscreen,[Out, Optional] IDXGIOutput** ppTarget)

GetLastPresentCount()

HRESULT IDXGISwapChain::GetLastPresentCount([Out] unsigned int* pLastPresentCount)

Present(int, PresentFlags)

HRESULT IDXGISwapChain::Present([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS Flags)

ResizeBuffers(int, int, int, Format, SwapChainFlags)

HRESULT IDXGISwapChain::ResizeBuffers([In] unsigned int BufferCount,[In] unsigned int Width,[In] unsigned int Height,[In] DXGI_FORMAT NewFormat,[In] DXGI_SWAP_CHAIN_FLAG SwapChainFlags)

ResizeTarget(ref ModeDescription)

HRESULT IDXGISwapChain::ResizeTarget([In] const DXGI_MODE_DESC* pNewTargetParameters)

SetFullscreenState(Bool, Output)

HRESULT IDXGISwapChain::SetFullscreenState([In] BOOL Fullscreen,[In, Optional] IDXGIOutput* pTarget)

Operators

Name Description
explicit operator SwapChain(IntPtr)

Performs an explicit conversion from IntPtr to SwapChain.