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