ShaderUtil.GetComputeShaderMessageCount

Cambiar al Manual
public static int GetComputeShaderMessageCount (ComputeShader s);

Parámetros

sThe ComputeShader instance to check for messages.

Valor de retorno

int The number of errors and warnings generated by the Unity Shader Compiler.

Descripción

Returns the number of errors and warnings generated by the Unity Shader Compiler for the given ComputeShader.