FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setCachingEnabled()

void fl::Corkscrew::setCachingEnabled ( bool enabled)

Definition at line 196 of file corkscrew.cpp.

196 {
197 if (!enabled && mCachingEnabled) {
198 // Caching was enabled, now disabling - clear the cache
199 mTileCache.clear();
200 mCacheInitialized = false;
201 }
202 mCachingEnabled = enabled;
203}
bool mCacheInitialized
Definition corkscrew.h:247
fl::vector< Tile2x2_u8_wrap > mTileCache
Definition corkscrew.h:246
bool mCachingEnabled
Definition corkscrew.h:248

References mCacheInitialized, mCachingEnabled, and mTileCache.