net.ctdp.rfdynhud.util
Class TextureManager
java.lang.Object
net.ctdp.rfdynhud.util.TextureManager
public class TextureManager
- extends java.lang.Object
ImageIO image loading is pretty slow. This is a simple but fast texture loading implementation.
- Author:
- Marvin Froehlich (CTDP)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextureManager
public TextureManager()
createMissingImage
public static java.awt.image.BufferedImage createMissingImage(int width,
int height)
getMissingImage
public static final ImageTemplate getMissingImage()
getImage
public static ImageTemplate getImage(java.lang.String name,
boolean useCache)
getImage
public static ImageTemplate getImage(java.lang.String name)
removeImageFromCache
public static void removeImageFromCache(java.lang.String name)