Shader.CodeText

Introduced

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

C# Syntax

String Shader.CodeText( String in_Renderer );

Scripting Syntax

oString = Shader.CodeText( Renderer );

Return Value

String

Parameters

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

See Also

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