cleanup texture classes