文档

Unity Engine

Unity Engine

PassIdentifier(uint, uint)

Constructs a new PassIdentifier with the given subshaderIndex and passIndex.
阅读时间1 分钟最后更新于 1 个月前

Definition

public PassIdentifier(uint subshaderIndex, uint passIndex)

Parameters

subshaderIndex

The index of the SubShader the Pass belongs to.

passIndex

The index of the Pass in the SubShader.