| Package | Description |
|---|---|
| sim.loader.texture |
| Modifier and Type | Method and Description |
|---|---|
static DDSImage |
DDSImage.createFromData(int d3dFormat,
int width,
int height,
java.nio.ByteBuffer[] mipmapData)
Creates a new DDSImage from data supplied by the user.
|
static DDSImage |
DDSImage.read(java.nio.ByteBuffer buf)
Reads a DirectDraw surface from the specified ByteBuffer, returning
the resulting DDSImage.
|
static DDSImage |
DDSImage.read(java.io.File file)
Reads a DirectDraw surface from the specified file, returning
the resulting DDSImage.
|
static DDSImage |
DDSImage.read(java.lang.String filename)
Reads a DirectDraw surface from the specified file name,
returning the resulting DDSImage.
|