formats.add(null);
formats.addAll(Arrays.asList(Format.values()));
for (int i = 0, n = formats.size(); i < n; i++) {
Format format = formats.get(i);
for (int ii = 0, nn = filters.size(); ii < nn; ii++) {
TextureFilter min = filters.get(ii);
for (int iii = 0; iii < nn; iii++) {
TextureFilter mag = filters.get(iii);
if ((min == null && mag != null) || (min != null && mag == null)) continue;
Filter filter = new Filter(Direction.none, settings.defaultFileFormat, format, -1, -1, min, mag);
new TexturePacker(settings, inputDir, filter, outputDir, packFile);