Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPassCountInSubshader(int)

Returns the number of passes in the given SubShader.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int GetPassCountInSubshader(int subshaderIndex)

Parameters

subshaderIndex

The index of the SubShader.

Returns

Type

Description

int