aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/util/pngj/chunks/ChunkLoadBehaviour.java
blob: 82ab3bcf92bbf243638bd336555c2acb21a9f076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package jogamp.opengl.util.pngj.chunks;

/**
 * Defines gral strategy about what to do with ancillary (non-critical) chunks
 * when reading
 */
public enum ChunkLoadBehaviour {
	/**
	 * All non-critical chunks are skipped
	 */
	LOAD_CHUNK_NEVER,
	/**
	 * Ancillary chunks are loaded only if 'known' (registered with the
	 * factory).
	 */
	LOAD_CHUNK_KNOWN,
	/**
	 * 
	 * Load chunk if "known" or "safe to copy".
	 */
	LOAD_CHUNK_IF_SAFE,
	/**
	 * Load all chunks. <br>
	 * Notice that other restrictions might apply, see
	 * PngReader.skipChunkMaxSize PngReader.skipChunkIds
	 */
	LOAD_CHUNK_ALWAYS;
}