If you create several custom nodes, it can be useful to create a loader that will load all of them from the same library ﬁle. It is also possible to create a metadata ﬁle with all the metadata information from all the shaders.
Two Simple Shaders
node_loaderentry point several times, each time increasing the index i, until one of the calls returns
false. So for loading two shaders,
truefor values of i between 0 and 1 and set the corresponding shader data in
node, and return
falsefor all other values.