def set_channel_input(self, img, i=0):
        tex = gloo.Texture2D(img)
        tex.interpolation = 'linear'
        tex.wrapping = 'repeat'
        self.program['iChannel%d' % i] = tex
        self.program['iChannelResolution[%d]' % i] = img.shape
dataset/ETHPy150Open alexjc/shadertoy-render/shadertoy-render.py/RenderingCanvas.set_channel_input/original