Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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. Additional resources: GetPassName