def attach_texture(self, material, stage, filename):
        assert material in self.asset['materials']
        file_link = self.attach_image(filename)
        LOG.debug("material:%s:parameters:%s:%s", material, stage, filename)
        # Override the texture definition to redirect to this new shortcut to the image
        self.asset['materials'][material]['parameters'][stage] = file_link
Attach an image and linked parameter to the effect of the JSON representation.
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.attach_texture