def write_config(self):
        """ Generates the shader configuration for the common inputs """
        content = self._input_ubo.generate_shader_code()
        try:
            # Try to write the temporary file
            with open("/$$rptemp/$$main_scene_data.inc.glsl", "w") as handle:
                handle.write(content)
        except __HOLE__ as msg:
            self.error("Failed to write common resources shader configuration!", msg)
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/common_resources.py/CommonResources.write_config