Tesla Graphics Engine Documentation (January 2012)
DisplayMode Structure
TeslaTesla.GraphicsDisplayMode
Description for a display mode.
Declaration Syntax
C#
public struct DisplayMode : IEquatable<DisplayMode>
Members
All Members Constructors Methods Properties



Icon Member Description
DisplayMode(Int32, Int32, SurfaceFormat)
Creates a new display mode description.

AspectRatio
Gets the aspect ratio (width / height).

Equality(DisplayMode, DisplayMode)
Equality operator.

Equals(DisplayMode)
Equality test between this DisplayMode and another.

Equals(Object)
Equality test between this DisplayMode and an object.
(Overrides ValueType.Equals(Object).)
GetHashCode()()()()
Hashcode override.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Height
Gets the display height in pixels.

Inequality(DisplayMode, DisplayMode)
Inequality operator.

SurfaceFormat
Gets the surface format supported by this display mode.

ToString()()()()
String representation of DisplayMode
(Overrides ValueType.ToString()()()().)
Width
Gets the display width in pixels.

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