文档

Unity Engine

Download Unity

Unity Engine

GetPassCountInSubshader(int)

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

Definition

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

Parameters

subshaderIndex

The index of the SubShader.

Returns

Type

Description

int