Legacy Documentation: Version 2017.1 (Go to current version)
ShaderLab: Stencil
ShaderLab: Legacy Lighting
Other Versions

ShaderLab: Name

Syntax

Name "PassName"

Gives the PassName name to the current pass. Note that internally the names are turned to uppercase.

Details

A pass can be given a name so that a UsePass command can reference it.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答