def load(showbase):
        """ Loads the globals from a given showbase """
        Globals.base = showbase
        Globals.render = showbase.render
        Globals.clock = showbase.taskMgr.globalClock
        Globals.font = None
        Globals.resolution = None
        Globals.native_resolution = None
 Loads the globals from a given showbase 
metadrive/render_pipeline/rpcore/globals.py