|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.opengl.EmptyImageData
public class EmptyImageData
An image data implementation which represents an empty texture
| Constructor Summary | |
|---|---|
EmptyImageData(int width,
int height)
Create an empty image data source |
|
| Method Summary | |
|---|---|
int |
getDepth()
Get the last bit depth read from a TGA |
int |
getHeight()
Get the last height read from a TGA |
java.nio.ByteBuffer |
getImageBufferData()
Get the store image |
int |
getTexHeight()
Get the ast required texture height for a loaded image |
int |
getTexWidth()
Get the last required texture width for a loaded image |
int |
getWidth()
Get the last width read from a TGA |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyImageData(int width,
int height)
width - The width of the sourceheight - The height of the source| Method Detail |
|---|
public int getDepth()
ImageData
getDepth in interface ImageDataImageData.getDepth()public int getHeight()
ImageData
getHeight in interface ImageDataImageData.getHeight()public java.nio.ByteBuffer getImageBufferData()
ImageData
getImageBufferData in interface ImageDataImageData.getImageBufferData()public int getTexHeight()
ImageData
getTexHeight in interface ImageDataImageData.getTexHeight()public int getTexWidth()
ImageData
getTexWidth in interface ImageDataImageData.getTexWidth()public int getWidth()
ImageData
getWidth in interface ImageDataImageData.getWidth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||