|
|
|
|
|
| Description |
| A helper to load BMP files from disc and cache them in the display state.
Uses GL.BMP, and only supports images loadable by it.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| cacheImage |
| :: IORef DisplayState | The current state
| | -> FilePath | The path to the image.
| | -> IO Image | | | Loads an image from the file system and caches it in the display state. Subsequent calls
to cacheImage with the same path will return the previously loaded image.
|
|
|
| Produced by Haddock version 0.7 |