Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MethodDeclarationShaderCouple.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 MethodDeclarationShaderCouple
9  {
11  public ShaderClassType Shader;
12 
13  public MethodDeclarationShaderCouple() : this(null, null){}
14 
15  public MethodDeclarationShaderCouple(MethodDeclaration method, ShaderClassType shader)
16  {
17  Method = method;
18  Shader = shader;
19  }
20  }
21 }
Toplevel container of a shader parsing result.
Definition: Shader.cs:12