Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
DefaultCompilerParametersGenerator.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.Collections.Generic;
4
using
SiliconStudio.Assets.Compiler;
5
using
SiliconStudio.Core.Diagnostics;
6
using
SiliconStudio.Paradox.Effects;
7
using
SiliconStudio.Paradox.Shaders.Compiler;
8
9
namespace
SiliconStudio.Paradox.Assets.Effect.Generators
10
{
11
/// <summary>
12
/// The default implementation for <see cref="ICompilerParametersGenerator"/> simply copy a clone version of the input baseParameters. See remarks.
13
/// </summary>
14
/// <remarks>
15
/// This generator is always registered and call first in the
16
/// </remarks>
17
public
class
DefaultCompilerParametersGenerator
:
ICompilerParametersGenerator
18
{
19
public
int
GeneratorPriority
20
{
21
get
22
{
23
return
0;
24
}
25
}
26
27
public
IEnumerable<CompilerParameters>
Generate
(
AssetCompilerContext
context,
CompilerParameters
baseParameters,
ILogger
log)
28
{
29
return
new
List<CompilerParameters>() { baseParameters.Clone() };
30
}
31
}
32
}
SiliconStudio.Paradox.Shaders.Compiler.CompilerParameters
Parameters used for compilation.
Definition:
CompilerParameters.cs:13
SiliconStudio.Assets.Compiler.AssetCompilerContext
The context used when compiling an asset in a Package.
Definition:
AssetCompilerContext.cs:10
SiliconStudio.Paradox.Assets.Effect.Generators.DefaultCompilerParametersGenerator.Generate
IEnumerable< CompilerParameters > Generate(AssetCompilerContext context, CompilerParameters baseParameters, ILogger log)
Generates derived CompilerParameters from a base parameters.
Definition:
DefaultCompilerParametersGenerator.cs:27
IEnumerable
SiliconStudio.Paradox.Assets.Effect.ICompilerParametersGenerator
A dynamic generator of CompilerParameters from a source parameters. See remarks.
Definition:
ICompilerParametersGenerator.cs:18
SiliconStudio.Core.Diagnostics.ILogger
Interface for logging.
Definition:
ILogger.cs:8
SiliconStudio.Paradox.Assets.Effect.Generators.DefaultCompilerParametersGenerator
The default implementation for ICompilerParametersGenerator simply copy a clone version of the input ...
Definition:
DefaultCompilerParametersGenerator.cs:17
sources
engine
SiliconStudio.Paradox.Assets
Effect
Generators
DefaultCompilerParametersGenerator.cs
Generated on Sat Dec 20 2014 21:51:29 for Paradox Game Engine by
1.8.7