DeleteUnusedShaders

Introduced

v7.0

Description

DeleteUnusedShaders takes a single shader container object, or a collection of container objects, and deletes all shaders and image clips nested directly under it. A shader container object is an object such as a material, light, camera, and pass. This command is implemented using JScript and the XSI SDK so its functionality can easily be adapted for your own custom commands.

Scripting Syntax

DeleteUnusedShaders( [container] );

Parameters

Parameter Type Description
container XSICollection A single shader container or a collection of shader containers.

Default Value: The current selection

See Also

Camera Light Material Pass