Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::components::DecodedImageCacheReclaimer Struct Reference

Optional decoded-animation cache hook invoked before a family-budget reservation. More...

#include "donner/svg/components/resources/ImageComponent.h"

Public Types

using Callback = void (*)(Registry& registry, std::size_t requiredBytes)
 Reclaim inactive decoded images until requiredBytes can be admitted, when possible.

Public Attributes

Callback callback = nullptr
 Registered inactive-image reclamation callback.

Detailed Description

Optional decoded-animation cache hook invoked before a family-budget reservation.


The documentation for this struct was generated from the following file: