pass external resources to the renderer