Eyeon:Script/Reference/Applications/Fuse/ViewShader/Events/FreeShader

From VFXPedia

Jump to: navigation, search

ViewShader Reference Manual > FreeShader

Event Function


Contents


Summary

The FreeShader event is called when Fusion is rebuilding or destroying the display view's LUT shader chain. Implementing this event is optional, and can be used to destroy anything set up in SetupShader().

Usage

FreeShader()

Arguments

None.

Returns

None.

Examples

-- This is called when the shader is destroyed
function FreeShader()
    // here we can clean up anything we did in SetupShader()
end

See Also