ShaderLab syntax: Name
Reference Manual > ShaderLab Reference > ShaderLab syntax: Shader > ShaderLab syntax: SubShader > ShaderLab syntax: Pass > ShaderLab syntax: Name

ShaderLab syntax: Name

Syntax

Name "PassName"
Gives the PassName name to the current pass.

Details

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