def load_grain(self):
        grain_tex = RPLoader.load_texture(
            "/$$rp/data/film_grain/grain.txo")
        grain_tex.set_minfilter(SamplerState.FT_linear)
        grain_tex.set_magfilter(SamplerState.FT_linear)
        grain_tex.set_wrap_u(SamplerState.WM_repeat)
        grain_tex.set_wrap_v(SamplerState.WM_repeat)
        grain_tex.set_anisotropic_degree(0)
        self.stage.set_shader_input("PrecomputedGrain", grain_tex)
Loads the precomputed film grain
dataset/ETHPy150Open tobspr/RenderPipeline/rpplugins/color_correction/plugin.py/Plugin.load_grain