Shader.CodePath
 
 
 

Shader.CodePath

Introduced

v4.0

Description

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

C# Syntax

String Shader.CodePath( String in_Renderer );

Scripting Syntax

oString = Shader.CodePath( Renderer );

Return Value

String

Parameters

Parameter Type Description
Renderer String Name of renderer to query the file path for.

See Also

Shader.HasRenderer Shader.RendererOptionValue Shader.SymbolName Shader.CodeText