Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ConstantBufferLayoutRule.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>
9  {
10  /// <summary>
11  /// Gets or sets from name.
12  /// </summary>
13  /// <value>
14  /// From name.
15  /// </value>
16  public string Register { get; set; }
17 
18  /// <summary>
19  /// Gets or sets the binding.
20  /// </summary>
21  /// <value>
22  /// The location.
23  /// </value>
24  public string Binding { get; set; }
25 
26  /// <inheritdoc/>
27  public override string ToString()
28  {
29  return string.Format("Register: {0}, Binding: {1}", this.Register, this.Binding);
30  }
31  }
32 }