Version: 2022.1
언어: 한국어

ShaderUtil.GetShaderMessages

매뉴얼로 전환
public static ShaderMessage[] GetShaderMessages (Shader s, Rendering.ShaderCompilerPlatform platform);
public static ShaderMessage[] GetShaderMessages (Shader s);

파라미터

s The Shader instance to check for messages.
platform The ShaderCompilerPlatform 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.