|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 sourceMethod Detail |
---|
public int getDepth()
ImageData
getDepth
in interface ImageData
ImageData.getDepth()
public int getHeight()
ImageData
getHeight
in interface ImageData
ImageData.getHeight()
public java.nio.ByteBuffer getImageBufferData()
ImageData
getImageBufferData
in interface ImageData
ImageData.getImageBufferData()
public int getTexHeight()
ImageData
getTexHeight
in interface ImageData
ImageData.getTexHeight()
public int getTexWidth()
ImageData
getTexWidth
in interface ImageData
ImageData.getTexWidth()
public int getWidth()
ImageData
getWidth
in interface ImageData
ImageData.getWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |