IEffectCompiler Interface
Namespace: Stride.Shaders.CompilerAssembly: Stride.Shaders.dll
Main interface used to compile a shader.
public interface IEffectCompiler : IDisposable
Name | Description | |
---|---|---|
Methods | ||
Compile(ShaderSource, CompilerParameters) | Compiles the specified shader source. |
Methods
Compile(ShaderSource, CompilerParameters)
Compiles the specified shader source.
CompilerResults Compile(ShaderSource shaderSource, CompilerParameters compilerParameters)
Parameters
Type | Name | Description |
---|---|---|
ShaderSource | shaderSource | The shader source. |
CompilerParameters | compilerParameters | The compiler parameters. |
Returns
Type | Description |
---|---|
CompilerResults | Result of the compilation. |
Inherited Members
System.IDisposable.Dispose()