Creating each texture once and deleting it at the end