Table of Contents

Interface IEffectCompiler

Namespace
Stride.Shaders.Compiler
Assembly
Stride.Shaders.dll

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 ShaderSource

The shader source.

compilerParameters CompilerParameters

The compiler parameters.

Returns

CompilerResults

Result of the compilation.