TextureManager

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Constructor Summary
`TextureManager()`

Method Summary
`static java.awt.image.BufferedImage` | `createMissingImage(int width, int height)`
`static ImageTemplate` | `getImage(java.lang.String name)`
`static ImageTemplate` | `getImage(java.lang.String name, boolean useCache)`
`static ImageTemplate` | `getMissingImage()`
`static void` | `removeImageFromCache(java.lang.String name)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TextureManager

    public TextureManager()

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD