touchgfx::Bitmap::cache() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

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

Syntax

static bool cache(BitmapId id);

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.

References

LocationText
Bitmap.hpp:297
static bool cache(BitmapId id);