ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DXGI Namespace / SwapChain Class / GetBackBuffer<T> Method
The interface of the surface to resolve from the back buffer
A zero-based buffer index. If the swap effect is not DXGI_SWAP_EFFECT_SEQUENTIAL, this method only has access to the first buffer; for this case, set the index to zero.

In This Topic
    GetBackBuffer<T> Method
    In This Topic
    Access one of the swap-chain back buffers.
    Syntax
    'Declaration
     
    Public Function GetBackBuffer(Of T As ComObject)( _
       ByVal index As Integer _
    ) As T
    public T GetBackBuffer<T>( 
       int index
    )
    where T: ComObject

    Parameters

    index
    A zero-based buffer index. If the swap effect is not DXGI_SWAP_EFFECT_SEQUENTIAL, this method only has access to the first buffer; for this case, set the index to zero.

    Type Parameters

    T
    The interface of the surface to resolve from the back buffer

    Return Value

    Returns a reference to a back-buffer interface.
    See Also