Shader.PutPortDisplayName

Introduced

v7.0

Description

Changes a port display name. If nothing is specified (or is an empty string) in the PortDisplayName argument, the Parameter.ScriptName is used for the display name.

C# Syntax

Shader.PutPortDisplayName( String in_ScriptName, String in_DisplayName );

Scripting Syntax

Shader.PutPortDisplayName( PortScriptName, PortDisplayName );

Parameters

Parameter Type Description
PortScriptName String Script name of a port on the shader.
PortDisplayName String Diplay Name to use.

See Also

Shader.GetPortDisplayName