Term Callback Reference
    RTSHADER_API bool (*RTS_Shader3_Term)
    {
        IRTSExecutionState  *in_pExecState,
        void                *in_pParams,
        void                **io_pShaderInstanceData
    }

The Term callback enables the shader to clean up after itself (for example, shader instance data).

Parameters:
in_pExecStateThe execution state interface
in_pParamsThe shader property page parameters
Return values:
io_pShaderInstanceDataPointer to the shader's instance user data
Returns:
Success/failure
See also:
IRTSExecutionState, Realtime Shader Callbacks, cus_rtshad_ExecutionFlow Execution Flow