ReplaceShadersDefinition

Introduced

v9.0 (2011)

Description

Upgrades shader instances to use a different version of the shader definition. Use this task to do versioning of shaders or shader compounds.

Scripting Syntax

oReturn = ReplaceShadersDefinition( [Shaders], [NewDefinition] );

Return Value

Nothing

Parameters

Parameter Type Description
Shaders String Shaders to upgrade. Make sure all the shaders have the same ProgID.

Default Value: Current selection

NewDefinition ShaderDef New Shader Definition.

See Also

ImportShaderTree ExportShaderTree