Package com.jme3.texture.plugins.ktx
Class KTXLoader
java.lang.Object
com.jme3.texture.plugins.ktx.KTXLoader
- All Implemented Interfaces:
AssetLoader
A KTX file loader
KTX file format is an image container defined by the Khronos group
See specs here https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/
This loader doesn't support compressed files yet.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
KTXLoader
public KTXLoader()
-
-
Method Details
-
load
Description copied from interface:AssetLoader
Loads asset from the given input stream, parsing it into an application-usable object.- Specified by:
load
in interfaceAssetLoader
- Parameters:
info
- the located asset- Returns:
- An object representing the resource.
- Throws:
IOException
- If an I/O error occurs while loading
-