added more mip control to textures, added rendercontext for storing general render information per frame