org.jagatoo.loaders.textures
Interface AbstractTextureImage
public interface AbstractTextureImage
Insert type comment here.
getInternalFormat
TextureImageInternalFormat getInternalFormat()
- Returns:
- the image's internal-format.
getFormat
TextureImageFormat getFormat()
- Returns:
- the image's format.
getWidth
int getWidth()
- Returns:
- the image's actual width.
getHeight
int getHeight()
- Returns:
- the image's actual height.
getOriginalWidth
int getOriginalWidth()
- Returns:
- the image's original width (before scaling to powers of two).
getOriginalHeight
int getOriginalHeight()
- Returns:
- the image's original height (before scaling to powers of two).
getPixelSize
int getPixelSize()
- Returns:
- the image's pixel size in bytes (1, 2, 3, 4).
getDataBuffer
java.nio.ByteBuffer getDataBuffer()
- Returns:
- The image's ByteBuffer, that holds the image data
in R/RG/RGB/RGBA format.