docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IShaderLoader

    Interface for shader loaders

    Inherited Members
    IDisposable.Dispose()
    Namespace: UnityEngine.TestTools.Graphics.Shaders
    Assembly: UnityEditor.TestTools.Graphics.dll
    Syntax
    public interface IShaderLoader : IDisposable

    Methods

    LoadShader(string, ShaderParams)

    Loads a shader by its identifier

    Declaration
    ShaderHandle LoadShader(string identifier, ShaderParams shaderParams)
    Parameters
    Type Name Description
    string identifier

    The identifier of the shader to load

    ShaderParams shaderParams

    Any relevant shaderParams parameters

    Returns
    Type Description
    ShaderHandle

    A handle to the loaded shader

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)