shared pointers for textures are removed