(Lakka) Further refactorings - turn textures into struct array