Add ability to provide a hook to execute just prior to rendering.
Add ability to provide a hook to execute just prior to rendering.

This allows interoperability with other WebGL code.

mpetroff/pannellum,mpetroff/pannellum,mpetroff/pannellum,mpetroff/pannellum