Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
AsmExpression.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 System;
4 
5 namespace SiliconStudio.Shaders.Ast.Hlsl
6 {
7  /// <summary>
8  /// A raw asm expression.
9  /// </summary>
10  public class AsmExpression : Expression
11  {
12  #region Public Properties
13 
14  /// <summary>
15  /// Gets or sets the asm expression in raw text form.
16  /// </summary>
17  /// <value>
18  /// The asm expression in raw text form.
19  /// </value>
20  public string Text { get; set; }
21 
22  #endregion
23 
24  public override string ToString()
25  {
26  return "asm { ... }";
27  }
28  }
29 }