Fill an object with a texture

So I want to slow fill an object with a texture.
It basically means to apply a texture during an animation.