Package com.jme3.texture.plugins
Class HDRLoader
java.lang.Object
com.jme3.texture.plugins.HDRLoader
- All Implemented Interfaces:
- AssetLoader
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidconvertFloatToRGBE(byte[] rgbe, float red, float green, float blue) static voidconvertRGBEtoFloat(byte[] rgbe, float[] rgbf) static voidconvertRGBEtoFloat2(byte[] rgbe, float[] rgbf) static voidconvertRGBEtoFloat3(byte[] rgbe, float[] rgbf) Loads asset from the given input stream, parsing it into an application-usable object.load(InputStream in, boolean flipY) 
- 
Constructor Details- 
HDRLoaderpublic HDRLoader(boolean writeRGBE) 
- 
HDRLoaderpublic HDRLoader()
 
- 
- 
Method Details- 
convertFloatToRGBEpublic static void convertFloatToRGBE(byte[] rgbe, float red, float green, float blue) 
- 
convertRGBEtoFloatpublic static void convertRGBEtoFloat(byte[] rgbe, float[] rgbf) 
- 
convertRGBEtoFloat2public static void convertRGBEtoFloat2(byte[] rgbe, float[] rgbf) 
- 
convertRGBEtoFloat3public static void convertRGBEtoFloat3(byte[] rgbe, float[] rgbf) 
- 
load- Throws:
- IOException
 
- 
loadDescription copied from interface:AssetLoaderLoads asset from the given input stream, parsing it into an application-usable object.- Specified by:
- loadin interface- AssetLoader
- Parameters:
- info- the located asset
- Returns:
- An object representing the resource.
- Throws:
- IOException- If an I/O error occurs while loading
 
 
-