Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
GraphicsAdapter.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core;
4 
5 namespace SiliconStudio.Paradox.Graphics
6 {
7  /// <summary>
8  /// This class represents a graphics adapter.
9  /// </summary>
10  public sealed partial class GraphicsAdapter : ComponentBase
11  {
12  private readonly GraphicsOutput[] outputs;
13 
14  /// <summary>
15  /// Gets the <see cref="GraphicsOutput"/> attached to this adapter
16  /// </summary>
17  /// <returns>The <see cref="GraphicsOutput"/> attached to this adapter.</returns>
18  public GraphicsOutput[] Outputs
19  {
20  get
21  {
22  return outputs;
23  }
24  }
25 
26  /// <summary>
27  /// Return the description of this adapter
28  /// </summary>
29  /// <returns></returns>
30  public override string ToString()
31  {
32  return Description;
33  }
34  }
35 }
Base class for a framework component.
override string ToString()
Return the description of this adapter
This class represents a graphics adapter.