change texture to virtual class