Version: 2022.2
言語: 日本語
public int passCount ;

説明

マテリアルのパスの数(読み取り専用)

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.

関連項目: SetPass function, GL class, ShaderLab documentation