remove gfx data, add pointer to gfx data object