This version of Unity is unsupported.

ShaderUtil.GetShaderInfo

Declaration

public static ShaderInfo GetShaderInfo(Shader shader);

Parameters

shader The shader to get information about.

Returns

ShaderInfo Returns an instance of ShaderInfo for the given shader.

Description

Gets ShaderInfo for the given shader.