Version: 2021.2
言語: 日本語

ShaderUtil.GetComputeShaderMessageCount

マニュアルに切り替える
public static int GetComputeShaderMessageCount (ComputeShader s);

パラメーター

s The 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.