Interface IEffectCompiler
Main interface used to compile a shader.
public interface IEffectCompiler : IDisposable
- Inherited Members
- Extension Methods
Methods
Compile(ShaderSource, CompilerParameters)
Compiles the specified shader source.
CompilerResults Compile(ShaderSource shaderSource, CompilerParameters compilerParameters)
Parameters
shaderSource
ShaderSourceThe shader source.
compilerParameters
CompilerParametersThe compiler parameters.
Returns
- CompilerResults
Result of the compilation.