Texture templatized, Mipmap implemented.