Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IEffectCompiler Interface

    Namespace: Stride.Shaders.Compiler
    Assembly: 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.

    | Improve this Doc View 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()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article
    In This Article
    • Methods
      • Compile(ShaderSource, CompilerParameters)
    • Inherited Members
    • Extension Methods

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation