GetComputeShaderMessageCount(ComputeShader)
Returns the number of errors and warnings generated by the Unity Shader Compiler for the given ComputeShader.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetComputeShaderMessageCount(ComputeShader s)
Parameters
The ComputeShader instance to check for messages.
Returns
Type | Description |
|---|---|
| int | The number of errors and warnings generated by the Unity Shader Compiler. |