Jazz2::UI::Menu::RefreshCacheSection class

Refresh cache menu section.

Rebuilds the asset cache by re-indexing the cached levels and pruning the binary shader cache, then returns once finished.

Base classes

class MenuSection
Base class of a menu section.

Constructors, destructors, conversion operators

RefreshCacheSection()
Creates a new instance.

Public functions

void OnShow(IMenuContainer* root) override
Called when the section is shown.
void OnUpdate(float timeMult) override
Called when the section should be updated.
void OnDraw(Canvas* canvas) override
Called when the section should be drawn — the bottom background layer.
void OnTouchEvent(const nCine::TouchEvent& event, Vector2i viewSize) override
Called when a touch event is triggered.