com.jme.image.util
Class DDSLoader
java.lang.Object
com.jme.image.util.DDSLoader
public final class DDSLoader
- extends java.lang.Object
DDSLoader
is an image loader that reads in a DirectX DDS file.
Supports DXT1, DXT3, DXT5, RGB, RGBA, Grayscale, Alpha pixel formats.
2D images, mipmapped 2D images, and cubemaps.
- Version:
- $Id: DDSLoader.java,v 2.0 2008/8/15
- Author:
- Gareth Jenkins-Jones, Kirill Vainer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loadImage
public static Image loadImage(java.io.InputStream fis)
throws java.io.IOException
- Throws:
java.io.IOException
loadImage
public static Image loadImage(java.io.InputStream fis,
boolean flip)
throws java.io.IOException
- Throws:
java.io.IOException