< Previous | Contents | Next >

Summary

The SetupShadeNode event is called when Fusion needs to rebuild the display view’s LUT shader chain, for example when the user changes the selected LUTs.

The fuse should construct a ViewShadeNodeobject, giving it a GLSL shader program in a string, then add any run-time parameters that will be passed to the shader, and return the object. A Request object containing the current control settings is passed in, along with the image being displayed (which may be nil), if required.