XSIUnloadPlugin
 
 
 

XSIUnloadPlugin


Description

Called by Softimage when it unloads a plug-in.

Use this callback to perform any clean-up of resources allocated by the plug-in.

Applies To

All plug-ins.


Syntax

public class <class_name>
{
        public bool Unload( PluginRegistrar in_reg )
        {
                ...
        }
}
CStatus XSIUnloadPlugin( PluginRegistrar& in_reg )
{ 
        ... 
}
function XSIUnloadPlugin( in_reg )
{ 
        ... 
}
def XSIUnloadPlugin( in_reg ):
        ...
Function XSIUnloadPlugin( in_reg )
        ...
End Function
sub XSIUnloadPlugin
{ 
        my $in_reg = shift; 
}

Parameters

Parameter Language Type Description
in_reg Scripting and C# PluginRegistrar The PluginRegistrar for this plugin.
C++ PluginRegistrar&

See Also

C++ plug-ins can also register custom displays, display passes, and display callbacks using these PluginRegistrar member functions:

  • PluginRegistrar::RegisterCustomDisplay
  • PluginRegistrar::RegisterDisplayPass
  • PluginRegistrar::RegisterDisplayCallback