Rewrite to allow set particular parameters at any time. Added auto generation of mipmaps by a flag
Added missing get/set of autogen mipmaps paramater
Added method to Update Texture and retouch of code style