Version: 2017.2
public int passCount ;

Descripción

Cuántos passes hay en este material (Lectura solamente).

This returns the number of passes made such as in direct drawing code. For example, drawing 3D primitives with GL.Begin, GL.End, and also drawing meshes using Graphics.DrawMeshNow.

Mirar también: función SetPass, clase GL, ShaderLab documentation.