|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.util.DDSLoader
public class DDSLoader
Provides a means of loading texture data from DirectDraw Surface (DDS) files. Note: Currently, this class does not do any format conversions, so it will fail for formats not supported by the OpenGL implementation. We may need to decompress or swizzle textures in unsupported formats.
| Constructor Summary | |
|---|---|
DDSLoader()
|
|
| Method Summary | |
|---|---|
static void |
load(File file,
Texture1D texture,
boolean border)
Loads a 1D texture from the supplied file. |
static void |
load(File file,
Texture2D texture,
boolean border)
Loads a 2D texture from the supplied file. |
static void |
load(File file,
Texture3D texture,
boolean border)
Loads a 3D texture from the supplied file. |
static void |
load(File file,
TextureCubeMap texture,
boolean border)
Loads a cube map texture from the supplied file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DDSLoader()
| Method Detail |
|---|
public static void load(File file,
Texture1D texture,
boolean border)
throws IOException
IOException
public static void load(File file,
Texture2D texture,
boolean border)
throws IOException
IOException
public static void load(File file,
Texture3D texture,
boolean border)
throws IOException
IOException
public static void load(File file,
TextureCubeMap texture,
boolean border)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||