touchgfx::Bitmap::cache() method
@fn static bool Bitmap::cache(BitmapId id); Cache this bitmap into RAM. Cache this bitmap into unused RAM in the bitmap cache. @see registerBitmapDatabase
Arguments
id
The id of the bitmap to cache.
Return value
true if caching went well, false otherwise.
Notes
A memory region large enough to hold this bitmap must be configured and a large enough part of it must be available. Caching of a bitmap may involve a defragmentation of the bitmap cache. See TouchGFX documentation for details on caching.