Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
VariableLayoutRule.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 namespace SiliconStudio.Shaders.Convertor
4 {
5  /// <summary>
6  /// A single map rule.
7  /// </summary>
8  public class VariableLayoutRule
9  {
10  /// <summary>
11  /// Gets or sets from name.
12  /// </summary>
13  /// <value>
14  /// From name.
15  /// </value>
16  public string Semantic { get; set; }
17 
18  /// <summary>
19  /// Gets or sets to name.
20  /// </summary>
21  /// <value>
22  /// To name.
23  /// </value>
24  public string Name { get; set; }
25 
26  /// <summary>
27  /// Gets or sets the name output.
28  /// </summary>
29  /// <value>
30  /// The name output.
31  /// </value>
32  public string NameOutput { get; set; }
33 
34  /// <summary>
35  /// Gets or sets the location.
36  /// </summary>
37  /// <value>
38  /// The location.
39  /// </value>
40  public string Location { get; set; }
41 
42  /// <inheritdoc/>
43  public override string ToString()
44  {
45  return string.Format("Semantic: {0}, Name: {1}, NameOutput: {2} Location: {3}", Semantic, Name, NameOutput, Location);
46  }
47  }
48 }