Interface IShaderLoader
Interface for shader loaders
Inherited Members
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 |