...
For example, getFileDependencies is useful when the extension depends on one or more files. Studio calls this function when doing a "Pack & Go" to retrieve and copy all the dependencies of a given scene. Mxnetwork also calls this function to check all the dependencies of a scene before sending it to the render nodes.
Parametername
bla blainitializeForRendering is called just before rendering starts, and the incoming pMaxwell (always check != NULL ) is useful for accessing the scene later, so it is handy to store it as a class member. The following functions are called exclusively from Studio. initializePreview and freePreview mainly reset and free the arrays allocated in getProxyDisplay*. Keep a copy of the allocated pointers as members of the class and free them in freePreview.
getFileDependencies
virtual void getFileDependencies( dword& numDependencies, char** &paths );
This function returns all the paths of the files that the extension depends on.
Arguments
dword& numDependencies : output, number of paths.
char** &paths : output, array of paths. On entry, the pointer is NULL. Allocate with malloc.
initializePreview