|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoadableImageData
An image data source that can load images from a stream
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.newdawn.slick.opengl.ImageData |
|---|
getDepth, getHeight, getImageBufferData, getTexHeight, getTexWidth, getWidth |
| Method Detail |
|---|
void configureEdging(boolean edging)
edging - True if we should edge
java.nio.ByteBuffer loadImage(java.io.InputStream fis)
throws java.io.IOException
fis - The stream from which we'll load the TGA
java.io.IOException - Indicates a failure to read the TGA
java.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 none
java.io.IOException - Indicates a failure to read the TGA
java.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 none
java.io.IOException - Indicates a failure to read the TGA
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||