Class KTXLoader

java.lang.Object
com.jme3.texture.plugins.ktx.KTXLoader
All Implemented Interfaces:
AssetLoader

public class KTXLoader extends Object implements 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 Details

    • KTXLoader

      public KTXLoader()
  • Method Details

    • load

      public Object load(AssetInfo info) throws IOException
      Description copied from interface: AssetLoader
      Loads asset from the given input stream, parsing it into an application-usable object.
      Specified by:
      load in interface AssetLoader
      Parameters:
      info - the located asset
      Returns:
      An object representing the resource.
      Throws:
      IOException - If an I/O error occurs while loading