Tesla Graphics Engine Documentation (January 2012)
SwapChain Constructor (renderSystem, windowHandle, presentParams)
TeslaTesla.GraphicsSwapChainSwapChain(IRenderSystemProvider, IntPtr, PresentationParameters)
Creates a new instance of SwapChain.
Declaration Syntax
C#
public SwapChain(
	IRenderSystemProvider renderSystem,
	IntPtr windowHandle,
	PresentationParameters presentParams
)
Parameters
renderSystem (IRenderSystemProvider)
Render system used to create the underlying implementation.
windowHandle (IntPtr)
The handle to the window the swap chain is to bounded to. This is the window that the swap chain presents to.
presentParams (PresentationParameters)
The presentation parameters defining how the swap chain should be setup..
Exceptions
Exception Condition
ArgumentNullException Thrown if the render system is null.
ArgumentException Thrown if the presentation parameters are invalid, e.g. bad format or multi sample values.
TeslaException Thrown if the implementation failed to be created.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)