CodePath (Shader)

Introduced

4.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.

Scripting Syntax

Shader.CodePath( Renderer )

C# Syntax

String Shader.CodePath( String in_Renderer );

Parameters

Parameter

Type

Description

Renderer

String

Name of renderer to query the file path for.

Return Value

String

See Also

Shader.HasRenderer

Shader.RendererOptionValue

Shader.SymbolName

Shader.CodeText



Autodesk Softimage v7.5