Added texture upload for atlas data. Untested.