Class DDSLoader
java.lang.Object
com.evildevil.engines.bubble.texture.DDSLoader
public final class DDSLoader
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static int
DDPF_APHAPIXES
static int
DDPF_FOURCC
static int
DDPF_RGB
static int
DDSCAPS_COMPLEX
static int
DDSCAPS_MIPMAP
static int
DDSCAPS_TEXTURE
static int
DDSCAPS2_CUBEMAP
static int
DDSCAPS2_CUBEMAP_NEGATIVEX
static int
DDSCAPS2_CUBEMAP_NEGATIVEY
static int
DDSCAPS2_CUBEMAP_NEGATIVEZ
static int
DDSCAPS2_CUBEMAP_POSITIVEY
static int
DDSCAPS2_CUBEMAP_POSITIVEZ
static int
DDSCAPS2_CUBEMAP_POSITVEX
static int
DDSCAPS2_VOLUME
static int
DDSD_CAPS
static int
DDSD_DEPTH
static int
DDSD_HEIGHT
static int
DDSD_LINEARSIZE
static int
DDSD_MIPMAPCOUNT
static int
DDSD_PITCH
static int
DDSD_PIXELFORMAT
static int
DDSD_WIDTH
static int
lastHei
static int
lastWid
-
Constructor Summary
Constructors Constructor Description DDSLoader()
-
Method Summary
Modifier and Type Method Description void
debugInfo()
int
loadDDSFile(java.io.BufferedInputStream bufferedInputStream)
int
loadDDSFile(java.lang.String string)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
lastWid
public static int lastWid -
lastHei
public static int lastHei -
DDSD_CAPS
static final int DDSD_CAPS- See Also:
- Constant Field Values
-
DDSD_HEIGHT
static final int DDSD_HEIGHT- See Also:
- Constant Field Values
-
DDSD_WIDTH
static final int DDSD_WIDTH- See Also:
- Constant Field Values
-
DDSD_PITCH
static final int DDSD_PITCH- See Also:
- Constant Field Values
-
DDSD_PIXELFORMAT
static final int DDSD_PIXELFORMAT- See Also:
- Constant Field Values
-
DDSD_MIPMAPCOUNT
static final int DDSD_MIPMAPCOUNT- See Also:
- Constant Field Values
-
DDSD_LINEARSIZE
static final int DDSD_LINEARSIZE- See Also:
- Constant Field Values
-
DDSD_DEPTH
static final int DDSD_DEPTH- See Also:
- Constant Field Values
-
DDPF_APHAPIXES
static final int DDPF_APHAPIXES- See Also:
- Constant Field Values
-
DDPF_FOURCC
static final int DDPF_FOURCC- See Also:
- Constant Field Values
-
DDPF_RGB
static final int DDPF_RGB- See Also:
- Constant Field Values
-
DDSCAPS_COMPLEX
static final int DDSCAPS_COMPLEX- See Also:
- Constant Field Values
-
DDSCAPS_TEXTURE
static final int DDSCAPS_TEXTURE- See Also:
- Constant Field Values
-
DDSCAPS_MIPMAP
static final int DDSCAPS_MIPMAP- See Also:
- Constant Field Values
-
DDSCAPS2_CUBEMAP
static final int DDSCAPS2_CUBEMAP- See Also:
- Constant Field Values
-
DDSCAPS2_CUBEMAP_POSITVEX
static final int DDSCAPS2_CUBEMAP_POSITVEX- See Also:
- Constant Field Values
-
DDSCAPS2_CUBEMAP_NEGATIVEX
static final int DDSCAPS2_CUBEMAP_NEGATIVEX- See Also:
- Constant Field Values
-
DDSCAPS2_CUBEMAP_POSITIVEY
static final int DDSCAPS2_CUBEMAP_POSITIVEY- See Also:
- Constant Field Values
-
DDSCAPS2_CUBEMAP_NEGATIVEY
static final int DDSCAPS2_CUBEMAP_NEGATIVEY- See Also:
- Constant Field Values
-
DDSCAPS2_CUBEMAP_POSITIVEZ
static final int DDSCAPS2_CUBEMAP_POSITIVEZ- See Also:
- Constant Field Values
-
DDSCAPS2_CUBEMAP_NEGATIVEZ
static final int DDSCAPS2_CUBEMAP_NEGATIVEZ- See Also:
- Constant Field Values
-
DDSCAPS2_VOLUME
static final int DDSCAPS2_VOLUME- See Also:
- Constant Field Values
-
-
Constructor Details
-
DDSLoader
public DDSLoader()
-
-
Method Details
-
loadDDSFile
public int loadDDSFile(java.lang.String string) -
loadDDSFile
public int loadDDSFile(java.io.BufferedInputStream bufferedInputStream) -
debugInfo
public void debugInfo()
-