3 using System.Collections.Generic;
5 using SiliconStudio.Assets.Compiler;
6 using SiliconStudio.Core.Diagnostics;
7 using SiliconStudio.Paradox.Effects;
8 using SiliconStudio.Paradox.Effects.Data;
9 using SiliconStudio.Paradox.Shaders.Compiler;
11 namespace SiliconStudio.Paradox.Assets.Effect
15 public virtual int GeneratorPriority {
get;
private set; }
26 if (sourceParameters != null)
28 foreach (var keyValue
in sourceParameters)
31 if (keyValue.Value.GetType().IsAssignableFrom(keyValue.Key.PropertyType))
32 destParameters.SetObject(keyValue.Key, keyValue.Key.ConvertValue(keyValue.Value));
Parameters used for compilation.
static void AddToParameters(ParameterCollectionData sourceParameters, ParameterCollection destParameters)
Adds the parameters from the ParameterCollectionData to the destination ParameterCollection. Excludes GraphicsResourceBase parameters.
Data type for SiliconStudio.Paradox.Effects.ParameterCollection.
The context used when compiling an asset in a Package.
A dynamic generator of CompilerParameters from a source parameters. See remarks.
A container to handle a hierarchical collection of effect variables.