APIdia Launch Partner
Top Inners Constructors Methods
com.badlogic.gdx.tools.etc1

public Class ETC1Compressor

extends Object
Class Inheritance
Imports
java.io.File, java.util.ArrayList, com.badlogic.gdx.files.FileHandle, com.badlogic.gdx.graphics.Pixmap, .Pixmap.Blending, .Pixmap.Format, com.badlogic.gdx.graphics.glutils.ETC1, com.badlogic.gdx.tools.FileProcessor, com.badlogic.gdx.utils.GdxNativesLoader

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
main(String[] args)

public static void
process(String inputDirectory, String outputDirectory, boolean recursive, boolean flatten)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ETC1Compressorback to summary
public ETC1Compressor()

Method Detail

mainback to summary
public static void main(String[] args) throws Exception
processback to summary
public static void process(String inputDirectory, String outputDirectory, boolean recursive, boolean flatten) throws Exception
com.badlogic.gdx.tools.etc1 back to summary

pack-priv Class ETC1Compressor.ETC1FileProcessor

extends FileProcessor
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
processDir(FileProcessor.Entry entryDir, ArrayList<FileProcessor.Entry> value)

Overrides com.badlogic.gdx.tools.FileProcessor.processDir.

Called for each input directory.

protected void
Inherited from com.badlogic.gdx.tools.FileProcessor:
addInputRegexaddInputSuffixaddProcessedFileprocessprocessprocesssetComparatorsetFlattenOutputsetInputFiltersetOutputSuffixsetRecursive

Constructor Detail

ETC1FileProcessorback to summary
pack-priv ETC1FileProcessor()

Method Detail

processDirback to summary
protected void processDir(FileProcessor.Entry entryDir, ArrayList<FileProcessor.Entry> value) throws Exception

Overrides com.badlogic.gdx.tools.FileProcessor.processDir.

Doc from com.badlogic.gdx.tools.FileProcessor.processDir.

Called for each input directory. The files will be sorted. The specified files list can be modified to change which files are processed.

Annotations
@Override
processFileback to summary
protected void processFile(FileProcessor.Entry entry) throws Exception

Overrides com.badlogic.gdx.tools.FileProcessor.processFile.

Doc from com.badlogic.gdx.tools.FileProcessor.processFile.

Called with each input file.

Annotations
@Override