Version: 2017.1 (switch to 2017.2b)
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.

ShaderLab: Stencil
ShaderLab: Legacy Lighting