Add support for Rc<Texture> in uniforms