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