[]
Gets a swap chain back buffer.
public static Surface FromSwapChain(SwapChain swapChain, int index)
Type | Name | Description |
---|---|---|
SwapChain | swapChain | The swap chain to get the buffer from. |
int | index | The index of the desired buffer. |
Type | Description |
---|---|
Surface | The buffer interface, or |