public interface LoadableImageData extends ImageData
| Modifier and Type | Method and Description |
|---|---|
void |
configureEdging(boolean edging)
Configure the edging that can be used to make texture edges
loop more cleanly
|
java.nio.ByteBuffer |
loadImage(java.io.InputStream fis)
Load a image from the specified stream
|
java.nio.ByteBuffer |
loadImage(java.io.InputStream fis,
boolean flipped,
boolean forceAlpha,
int[] transparent)
Load a image from the specified stream
|
java.nio.ByteBuffer |
loadImage(java.io.InputStream fis,
boolean flipped,
int[] transparent)
Load a image from the specified stream
|
getDepth, getHeight, getImageBufferData, getTexHeight, getTexWidth, getWidthvoid configureEdging(boolean edging)
edging - True if we should edgejava.nio.ByteBuffer loadImage(java.io.InputStream fis)
throws java.io.IOException
fis - The stream from which we'll load the TGAjava.io.IOException - Indicates a failure to read the TGAjava.nio.ByteBuffer loadImage(java.io.InputStream fis,
boolean flipped,
int[] transparent)
throws java.io.IOException
fis - The stream from which we'll load the TGAflipped - True if we loading in flipped mode (used for cursors)transparent - The colour to interpret as transparent or null if nonejava.io.IOException - Indicates a failure to read the TGAjava.nio.ByteBuffer loadImage(java.io.InputStream fis,
boolean flipped,
boolean forceAlpha,
int[] transparent)
throws java.io.IOException
fis - The stream from which we'll load the TGAflipped - True if we loading in flipped mode (used for cursors)forceAlpha - Force the output to have an alpha channeltransparent - The colour to interpret as transparent or null if nonejava.io.IOException - Indicates a failure to read the TGA