Add a ctor to ttexture which loads the texture from a file.