Unity Engine documentationScript ReferenceUnityEditorShaderDataShaderData.SubshaderPassCountThe number of passes for this subshader.Read time 1 minuteLast updated 13 days agoDefinition Type: Property Namespace: UnityEditor Assembly: UnityEditor.CoreModule public int PassCount { get; }