ComponentOne Bitmap for UWP
GetBackBuffer<T> Method

C1.UWP.DX 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.
Access one of the swap-chain back buffers.
Syntax
'Declaration
 
Public Function GetBackBuffer(Of T As ComObject)( _
   ByVal index As System.Integer _
) As T
public T GetBackBuffer<T>( 
   System.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

Reference

SwapChain Class
SwapChain Members