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
The index of the SubShader.
Returns
Type | Description |
|---|---|
| int |