Interface IShaderExecutor<T>
Interface for shader executors
Namespace: UnityEngine.TestTools.Graphics.Shaders
Assembly: UnityEditor.TestTools.Graphics.dll
Syntax
public interface IShaderExecutor<out T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of the shader result data |
Methods
ExecuteShader(ShaderHandle)
Executes the given shader and returns the result
Declaration
T ExecuteShader(ShaderHandle shader)
Parameters
| Type | Name | Description |
|---|---|---|
| ShaderHandle | shader | The handle to the shader to execute |
Returns
| Type | Description |
|---|---|
| T | The shader execution result data |