Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
EffectParameterData.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 using SiliconStudio.Paradox.Effects;
6 
7 namespace SiliconStudio.Paradox.Shaders
8 {
9  /// <summary>
10  /// The header of a shader parameter.
11  /// </summary>
12  [DataContract]
13  public struct EffectParameterData
14  {
15  /// <summary>
16  /// The key of the parameter.
17  /// </summary>
18  [DataMemberIgnore]
19  public ParameterKey Key;
20 
21  /// <summary>
22  /// The key name.
23  /// </summary>
24  public string KeyName;
25 
26  /// <summary>
27  /// The index of the parameter.
28  /// </summary>
29  public int KeyIndex;
30 
31  /// <summary>
32  /// Name of this parameter in the original shader
33  /// </summary>
34  public string RawName;
35 
36  /// <summary>
37  /// The <see cref="EffectParameterClass"/> of this parameter.
38  /// </summary>
40 
41  /// <summary>
42  /// The <see cref="EffectParameterType"/> of this parameter.
43  /// </summary>
45  }
46 }
Key of an effect parameter.
Definition: ParameterKey.cs:15
EffectParameterType Type
The EffectParameterType of this parameter.
EffectParameterClass
Values that identify the class of a shader variable.
ParameterKey Key
The key of the parameter.
string RawName
Name of this parameter in the original shader
EffectParameterClass Class
The EffectParameterClass of this parameter.