Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IShaderCompiler.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.Core.Diagnostics;
4 using SiliconStudio.Paradox.Effects;
5 using SiliconStudio.Paradox.Graphics;
6 
7 namespace SiliconStudio.Paradox.Shaders.Compiler
8 {
9  internal class ShaderBytecodeResult : LoggerResult
10  {
11  public ShaderBytecode Bytecode { get; set; }
12  }
13 
14  internal interface IShaderCompiler
15  {
16  ShaderBytecodeResult Compile(string shaderSource, string entryPoint, ShaderStage stage, ShaderMixinParameters compilerParameters, EffectReflection reflection, string sourceFilename = null);
17  }
18 }
A logger that stores messages locally useful for internal log scenarios.
Definition: LoggerResult.cs:14
SiliconStudio.Paradox.Shaders.ShaderBytecode ShaderBytecode
ShaderStage
Enum to specify shader stage.
Definition: ShaderStage.cs:12