ShaderUtil.GetComputeShaderMessageCount

매뉴얼로 전환
public static int GetComputeShaderMessageCount (ComputeShader s);

파라미터

sThe ComputeShader instance to check for messages.

반환

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

설명

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