EffectCompilerChain Class
Namespace: Stride.Shaders.Compiler
Assembly: Stride.Shaders.dll
public class EffectCompilerChain : EffectCompilerBase, IReferencable, IEffectCompiler, IDisposable
|
Improve this Doc
View Source
Constructors
EffectCompilerChain(EffectCompilerBase)
public EffectCompilerChain(EffectCompilerBase compiler)
Parameters
|
Improve this Doc
View Source
Properties
Compiler
protected EffectCompilerBase Compiler { get; }
Property Value
FileProvider
public override IVirtualFileProvider FileProvider { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
Methods
Compile(ShaderMixinSource, EffectCompilerParameters, CompilerParameters)
public override TaskOrResult<EffectBytecodeCompilerResult> Compile(ShaderMixinSource mixinTree, EffectCompilerParameters effectParameters, CompilerParameters compilerParameters = null)
Parameters
Returns
Overrides
Destroy()
protected override void Destroy()
Overrides
GetShaderSourceHash(String)
public override ObjectId GetShaderSourceHash(string type)
Parameters
Type |
Name |
Description |
System.String |
type |
|
Returns
Overrides
ResetCache(HashSet<String>)
public override void ResetCache(HashSet<string> modifiedShaders)
Parameters
Type |
Name |
Description |
System.Collections.Generic.HashSet<System.String> |
modifiedShaders |
|
Overrides
Extension Methods