Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
NullEffectCompiler.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;
4 using System.Collections.Generic;
5 
6 using SiliconStudio.Core.Diagnostics;
7 
8 namespace SiliconStudio.Paradox.Shaders.Compiler
9 {
11  {
12  public override EffectBytecode Compile(ShaderMixinSource mixin, string fullEffectName, ShaderMixinParameters compilerParameters, HashSet<string> modifiedShaders, HashSet<string> recentlyModifiedShaders, LoggerResult log)
13  {
14  throw new NotSupportedException("Shader Compilation is not allowed at run time on this platform.");
15  }
16  }
17 }
A mixin performing a combination of ShaderClassSource and other mixins.
A logger that stores messages locally useful for internal log scenarios.
Definition: LoggerResult.cs:14
Base class for implementations of IEffectCompiler, providing some helper functions.
override EffectBytecode Compile(ShaderMixinSource mixin, string fullEffectName, ShaderMixinParameters compilerParameters, HashSet< string > modifiedShaders, HashSet< string > recentlyModifiedShaders, LoggerResult log)
Compiles the ShaderMixinSource into a platform bytecode.
Contains a compiled shader with bytecode for each stage.