Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
VariableShaderCouple.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.Shaders.Parser.Ast;
4 using SiliconStudio.Shaders.Ast;
5 
6 namespace SiliconStudio.Paradox.Shaders.Parser.Mixins
7 {
8  internal class VariableShaderCouple
9  {
10  public Variable Variable;
11  public ShaderClassType Shader;
12 
13  public VariableShaderCouple() : this(null, null) { }
14 
15  public VariableShaderCouple(Variable variable, ShaderClassType shader)
16  {
17  Variable = variable;
18  Shader = shader;
19  }
20  }
21 }
A variable declaration.
Definition: Variable.cs:11
Toplevel container of a shader parsing result.
Definition: Shader.cs:12