def _bind_inputs_to_stage(self, stage):
        """ Binds all inputs including common inputs to the given stage """
        common_inputs = ["mainCam", "mainRender", "MainSceneData", "TimeOfDay"]
        for input_binding in stage.required_inputs + common_inputs:
            if input_binding not in self.inputs and \
               input_binding not in self.input_blocks:
                self.error("Input", input_binding, "is missing for", stage)
                continue

            if input_binding in self.inputs:
                stage.set_shader_input(input_binding, self.inputs[input_binding])
            elif input_binding in self.input_blocks:
                self.input_blocks[input_binding].bind_to(stage)
            else:
                assert False, "Input binding not in inputs and not in blocks!"
        return True
 Binds all inputs including common inputs to the given stage 
metadrive/render_pipeline/rpcore/stage_manager.py