文档

Unity Engine

Unity Engine

GetPass(int)

Get a pass of a subshader.
阅读时间1 分钟最后更新于 2 天前

Definition

public ShaderData.Pass GetPass(int passIndex)

Parameters

passIndex

The index of the pass.

Returns

Type

Description

PassThe specified pass or null, if none exists.