Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ShaderKeyClass.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.Collections.Generic;
4 
5 namespace SiliconStudio.Paradox.VisualStudio.Commands.Shaders
6 {
8  {
9  public ShaderKeyClass(string name)
10  {
11  Name = name;
12  Variables = new List<ShaderKeyVariable>();
13  }
14 
15  public string Name { get; private set; }
16  public List<ShaderKeyVariable> Variables { get; private set; }
17  }
18 
20  {
21  Value,
22  ArrayValue,
23  Resource,
24  }
25 
27  {
28  public ShaderKeyVariable(string name, string type, ShaderKeyVariableCategory category)
29  {
30  Name = name;
31  Type = type;
32  Category = category;
33  }
34 
35  public string Name { get; private set; }
36  public string Type { get; set; }
37  public string InitialValue { get; set; }
38  public string Map { get; set; }
39  public ShaderKeyVariableCategory Category { get; set; }
40  }
41 }
ShaderKeyVariable(string name, string type, ShaderKeyVariableCategory category)