Refactor to prepare texture array management of the Atlas