Version: 2019.2
ShaderLab: Stencil
ShaderLab: Legacy Lighting

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.

Did you find this page useful? Please give it a rating:

ShaderLab: Stencil
ShaderLab: Legacy Lighting