Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ShaderTypeName.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.Shaders.Ast;
4 
5 namespace SiliconStudio.Paradox.Shaders.Parser.Ast
6 {
7  /// <summary>
8  /// A typeless reference.
9  /// </summary>
10  public class ShaderTypeName : TypeName
11  {
12  /// <summary>
13  /// Initializes a new instance of the <see cref="ShaderTypeName"/> class.
14  /// </summary>
15  public ShaderTypeName()
16  {
17  }
18 
19  /// <summary>
20  /// Initializes a new instance of the <see cref="ShaderTypeName"/> class.
21  /// </summary>
22  /// <param name="typeBase">The type base.</param>
23  public ShaderTypeName(TypeBase typeBase)
24  : base(typeBase.Name)
25  {
26  }
27 
28  /// <summary>
29  /// Initializes a new instance of the <see cref="ShaderTypeName"/> class.
30  /// </summary>
31  /// <param name="name">The name.</param>
32  public ShaderTypeName(Identifier name) : base(name)
33  {
34  }
35  }
36 }
A typeless reference.
Definition: TypeName.cs:10
ShaderTypeName(Identifier name)
Initializes a new instance of the ShaderTypeName class.
ShaderTypeName()
Initializes a new instance of the ShaderTypeName class.
Base type for all types.
Definition: TypeBase.cs:11
ShaderTypeName(TypeBase typeBase)
Initializes a new instance of the ShaderTypeName class.