Map<String, Uint8List> getTexturesData() => Map.fromEntries(getTextures().map((e) { final data = getTexture(e); if (data == null) return null; return MapEntry(e, data); }).nonNulls);