This version of Unity is unsupported.

Material.FindPass

Switch to Manual

Declaration

public int FindPass(string passName);

Description

Returns the index of the pass passName.

Returns the index of the pass passName. -1 if it does not exist. See Also: GetPassName