GetComputeShaderMessages(ComputeShader)
Returns each error and warning generated by the Unity Shader Compiler for the given ComputeShader.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static ShaderMessage[] GetComputeShaderMessages(ComputeShader s)
Parameters
The ComputeShader instance to check for messages.
Returns
Type | Description |
|---|---|
| ShaderMessage[] | An array of ShaderMessage structs containing the generated messages. |