Path: blob/master/SLICK_HOME/src/org/newdawn/slick/opengl/ImageData.java
1461 views
package org.newdawn.slick.opengl;12import java.nio.ByteBuffer;34/**5* A description of any class providing ImageData in a form suitable for OpenGL texture6* creation.7*8* @author kevin9*/10public interface ImageData {1112/**13* Get the last bit depth read from a TGA14*15* @return The last bit depth read16*/17public int getDepth();1819/**20* Get the last width read from a TGA21*22* @return Get the last width in pixels fread from a TGA23*/24public int getWidth();2526/**27* Get the last height read from a TGA28*29* @return Get the last height in pixels fread from a TGA30*/31public int getHeight();3233/**34* Get the last required texture width for a loaded image35*36* @return Get the ast required texture width for a loaded image37*/38public int getTexWidth();3940/**41* Get the ast required texture height for a loaded image42*43* @return Get the ast required texture height for a loaded image44*/45public int getTexHeight();4647/**48* Get the store image49*50* @return The stored image51*/52public ByteBuffer getImageBufferData();5354}5556