Tesla Graphics Engine Documentation (January 2012)
SwapChainImplementation Class
TeslaTesla.Graphics.ImplementationSwapChainImplementation
Abstract class for concrete subclasses to provide the underlying implementation of SwapChain.
Declaration Syntax
C#
public abstract class SwapChainImplementation : GraphicsResourceImplementation
Members
All Members Constructors Methods Properties



Icon Member Description
SwapChainImplementation()()()()
Clear(ClearOptions, Color, Single, Int32)
Sets the swapchain's backbuffer as the active render target and clears it.

CurrentDisplayMode
Gets the current display mode of the swap chain.

Dispose()()()()
Disposes the underlying implementation.
(Inherited from GraphicsResourceImplementation.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResourceImplementation.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the GraphicsResourceImplementation is reclaimed by garbage collection.
(Inherited from GraphicsResourceImplementation.)
GetBackBufferData<(Of <<'(T>)>>)(Nullable<(Of <<'(Rectangle>)>>), array<T>[]()[][], Int32, Int32)
Gets the backbuffer as an array of data.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsDisposed
Gets if the resource has been disposed.
(Inherited from GraphicsResourceImplementation.)
IsFullScreen
Gets if the swap chain is in full screen mode or not. By default, swap chains are not in full screen.

IsWideScreen
Gets if the current display mode is in wide screen or not.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MonitorHandle
Gets the handle to the monitor that contains the majority of the output.

Name
Gets or sets the name of this resource.
(Inherited from GraphicsResourceImplementation.)
Present()()()()
Presents the contents of the back buffer to the screen, and flips the front/back buffers.

PresentationParameters
Gets the presentation parameters the swap chain is set to.

Reset(IntPtr, PresentationParameters)
Resets the swapchain.

Resize(Int32, Int32)
Resizes the backbuffer.

ResourceID
Gets or sets the resource ResourceID. It can only be set once, usually by the renderer.
(Inherited from GraphicsResourceImplementation.)
ToggleFullScreen()()()()
Toggles the swap chain to full screen mode.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WindowHandle
Gets the window handle the swap chain is bound to.

Inheritance Hierarchy

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