FindPass(string)
Returns the index of the pass passName.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int FindPass(string passName)
Parameters
Returns
Type | Description |
|---|---|
| int |
Remarks
Returns the index of the pass . -1 if it does not exist. Additional Resources: Material.GetPassName
passName