Version: 2021.3

ShaderUtil.GetShaderInfo

切换到手册
public static ShaderInfo GetShaderInfo (Shader shader);

参数

shader The shader to get information about.

返回

ShaderInfo Returns an instance of ShaderInfo for the given shader.

描述

Gets ShaderInfo for the given shader.