Class AndroidBufferImageLoader

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

public class AndroidBufferImageLoader extends Object implements AssetLoader
Loads textures using Android's Bitmap class, but does not have the RGBA8 alpha bug. See below link for supported image formats: https://developer.android.com/guide/topics/media/media-formats#image-formats
  • Constructor Details

    • AndroidBufferImageLoader

      public AndroidBufferImageLoader()
  • Method Details

    • load

      public Object load(AssetInfo assetInfo) 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:
      assetInfo - the located asset
      Returns:
      An object representing the resource.
      Throws:
      IOException - If an I/O error occurs while loading