FromSwapChain Method (Surface)
In This Topic
Gets a swap chain back buffer.
Syntax
'Declaration
Public Shared Function FromSwapChain( _
ByVal As SwapChain, _
ByVal As System.Integer _
) As Surface
public static Surface FromSwapChain(
SwapChain ,
System.int
)
Parameters
- swapChain
- The swap chain to get the buffer from.
- index
- The index of the desired buffer.
Return Value
The buffer interface, or null
on failure.
See Also