ShaderUtil.GetComputeShaderMessages

Switch to Manual
public static ShaderMessage[] GetComputeShaderMessages (ComputeShader s);

Parameters

sThe ComputeShader instance to check for messages.

Returns

ShaderMessage[] An array of ShaderMessage structs containing the generated messages.

Description

Returns each error and warning generated by the Unity Shader Compiler for the given ComputeShader.