Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IShaderMixinBuilder.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 namespace SiliconStudio.Paradox.Shaders
4 {
5  /// <summary>
6  /// Interface to be implemented for dynamic mixin generation.
7  /// </summary>
8  public interface IShaderMixinBuilder
9  {
10  /// <summary>
11  /// Generates a mixin.
12  /// </summary>
13  /// <param name="mixinTree">The mixin tree.</param>
14  /// <param name="context">The context.</param>
15  void Generate(ShaderMixinSourceTree mixinTree, ShaderMixinContext context);
16  }
17 }
A context used when mixin ShaderSource.
Interface to be implemented for dynamic mixin generation.