touchgfx::Bitmap::cacheReplaceBitmap() method
@fn static bool Bitmap::cacheReplaceBitmap(BitmapId out, BitmapId in); Replace a bitmap in RAM with another Bitmap. Replace a bitmap in RAM with another Bitmap. The Bitmaps must have same size.
Arguments
out
The id of the bitmap to remove from the cache.
in
The id of the bitmap to cache.
Return value
true if the replacement went well, false otherwise.