Shader.SymbolName

Introduced

v4.0

Description

Returns the symbol name of the shader code to execute when this shader gets rendered by the given renderer. If the symbol name hasn't been set then an empty string is returned.

C# Syntax

String Shader.SymbolName( String in_Renderer );

Scripting Syntax

oString = Shader.SymbolName( Renderer );

Return Value

String

Parameters

Parameter Type Description
Renderer String Name of renderer to query the symbol name for.

See Also

Shader.HasRenderer Shader.RendererOptionValue Shader.CodePath Shader.CodeText