Version: 2021.2
言語: 日本語
public static ShaderMessage[] GetComputeShaderMessages (ComputeShader s);

パラメーター

s The ComputeShader instance to check for messages.

戻り値

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

説明

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