ShaderDef.GetRendererDefByName operator

Introduced

v9.0 (2011)

Description

Returns the MetaShaderRendererDef that matches the specified name.

C# Syntax

MetaShaderRendererDef ShaderDef.GetRendererDefByName( String in_str );

Scripting Syntax

oReturn = ShaderDef.GetRendererDefByName( in_str );

Return Value

MetaShaderRendererDef

Parameters

Parameter Type Description
in_str String The name of the renderer to return. This is the equivalent of the string identifying each Renderer section under the MetaShader section in a SPDL file.

See Also

ShaderDef.AddRendererDef ShaderDef.RemoveRendererDef ShaderDef.RendererDefs