Package com.jme3.texture.plugins
Class AWTLoader
java.lang.Object
com.jme3.texture.plugins.AWTLoader
- All Implemented Interfaces:
AssetLoader
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionLoads asset from the given input stream, parsing it into an application-usable object.load
(BufferedImage img, boolean flipY) load
(InputStream in, boolean flipY)
-
Field Details
-
AWT_RGBA4444
-
AWT_RGBA5551
-
-
Constructor Details
-
AWTLoader
public AWTLoader()
-
-
Method Details
-
load
-
load
- Throws:
IOException
-
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
-