Version: 2019.4
public static ShaderMessage[] GetShaderMessages (Shader s);

パラメーター

sThe Shader 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 Shader.


Did you find this page useful? Please give it a rating: