public class HDRLoader extends java.lang.Object implements AssetLoader
Constructor and Description |
---|
HDRLoader() |
HDRLoader(boolean writeRGBE) |
Modifier and Type | Method and Description |
---|---|
static void |
convertFloatToRGBE(byte[] rgbe,
float red,
float green,
float blue) |
static void |
convertRGBEtoFloat(byte[] rgbe,
float[] rgbf) |
static void |
convertRGBEtoFloat2(byte[] rgbe,
float[] rgbf) |
static void |
convertRGBEtoFloat3(byte[] rgbe,
float[] rgbf) |
java.lang.Object |
load(AssetInfo info)
Loads asset from the given input stream, parsing it into
an application-usable object.
|
Image |
load(java.io.InputStream in,
boolean flipY) |
public static void convertFloatToRGBE(byte[] rgbe, float red, float green, float blue)
public static void convertRGBEtoFloat(byte[] rgbe, float[] rgbf)
public static void convertRGBEtoFloat2(byte[] rgbe, float[] rgbf)
public static void convertRGBEtoFloat3(byte[] rgbe, float[] rgbf)
public Image load(java.io.InputStream in, boolean flipY) throws java.io.IOException
java.io.IOException
public java.lang.Object load(AssetInfo info) throws java.io.IOException
AssetLoader
load
in interface AssetLoader
java.io.IOException
- If an I/O error occurs while loading