ShaderLab syntax: Name
Manual     Reference     Scripting   
Reference Manual > Shader 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.

Page last updated: 2008-06-16