base class for immediate rendering objects.
This creates a new ImmediateRenderObject.
renderCallback -- A function to render the generated object.
This function needs to be overridden to start the creation of the object and should call renderCallback when finished.
For more info on how to obtain the source code of this module see this page.