Package com.jme3.texture.plugins
Class AndroidBufferImageLoader
java.lang.Object
com.jme3.texture.plugins.AndroidBufferImageLoader
- All Implemented Interfaces:
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 Summary
-
Method Summary
-
Constructor Details
-
AndroidBufferImageLoader
public AndroidBufferImageLoader()
-
-
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:
assetInfo
- the located asset- Returns:
- An object representing the resource.
- Throws:
IOException
- If an I/O error occurs while loading
-