Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
EffectSourceCodeKeys.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.Paradox.Effects;
4 
5 namespace SiliconStudio.Paradox.Shaders
6 {
7  /// <summary>
8  /// Keys used for sourcecode generation.
9  /// </summary>
10  public static class EffectSourceCodeKeys
11  {
12  /// <summary>
13  /// When compiling a pdxsl, this will generate a source code file
14  /// </summary>
15  public static readonly ParameterKey<bool> Enable = ParameterKeys.New<bool>();
16 
17  /// <summary>
18  /// The class modifier declaration (Default: "public partial")
19  /// </summary>
20  public static readonly ParameterKey<string> ClassDeclaration = ParameterKeys.New("public partial");
21 
22  /// <summary>
23  /// The namespace used for the declaration.
24  /// </summary>
25  public static readonly ParameterKey<string> Namespace = ParameterKeys.New<string>();
26 
27  /// <summary>
28  /// The classname used for the (Default: name of the effect).
29  /// </summary>
30  public static readonly ParameterKey<string> ClassName = ParameterKeys.New<string>();
31 
32  /// <summary>
33  /// The field declaration (default: "private")
34  /// </summary>
35  public static readonly ParameterKey<string> FieldDeclaration = ParameterKeys.New("private");
36 
37  /// <summary>
38  /// The field name (default: "binaryBytecode")
39  /// </summary>
40  public static readonly ParameterKey<string> FieldName = ParameterKeys.New("binaryBytecode");
41  }
42 }
Key of an effect parameter.
Definition: ParameterKey.cs:15