Added ability to manually restore BaseTexture.

Hi, 

We are working on Firefly Framework http://firefly.in4ray.com/ and for our new version we need ability to manually  restore TextureBase object in textures that will be used by our Texture State managment functionality. Please merge if it acceptable for you.

Thanks,
in4ray team.