Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ShaderSource.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 using SiliconStudio.Core.Serialization;
5 
6 namespace SiliconStudio.Paradox.Shaders
7 {
8  /// <summary>
9  /// A shader source.
10  /// </summary>
11  [DataContract(Inherited = true)]
12  public abstract class ShaderSource
13  {
14  /// <summary>
15  /// Deep clones this instance.
16  /// </summary>
17  /// <returns>A new instance.</returns>
18  public abstract object Clone();
19 
20  /// <summary>
21  /// Determines whether the specified <see cref="System.Object" /> is equal to this instance.
22  /// </summary>
23  /// <param name="against">The <see cref="System.Object" /> to compare with this instance.</param>
24  /// <returns><c>true</c> if the specified <see cref="System.Object" /> is equal to this instance; otherwise, <c>false</c>.</returns>
25  public abstract override bool Equals(object against);
26 
27  public abstract override int GetHashCode();
28  }
29 }