CodeText (Shader)

Introduced

4.0

Description

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

Scripting Syntax

    Shader.CodeText( Renderer )

C# Syntax

    String Shader.CodeText( String in_Renderer );

Parameters

Parameter | Type | Description
Renderer | String | Name of renderer to query the shader code for.

Return Value

String

See Also

Shader.HasRenderer | Shader.RendererOptionValue | Shader.SymbolName | Shader.CodePath

Autodesk Softimage v7.5