文档

Unity Engine

Unity Engine

GetPassCountInSubshader(int)

Returns the number of passes in the given SubShader.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

subshaderIndex

The index of the SubShader.

Returns

Type

Description

int