Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
lottie_animation.hpp File Reference

Lottie / After-Effects (Bodymovin JSON) animation playback. More...

#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  pulp::canvas::LottieAnimation

Namespaces

namespace  pulp
namespace  pulp::canvas

Detailed Description

Lottie / After-Effects (Bodymovin JSON) animation playback.

Plays vector animations exported as Lottie JSON by rendering them onto a Pulp Canvas. Backed by the bundled skottie module, kept entirely inside the implementation (pimpl) so this header carries no rendering-backend dependency and view-layer code never sees it.

Opt-in: enabled by the CMake option PULP_LOTTIE (default OFF), which defines PULP_HAS_LOTTIE. When disabled, this class still exists so calling code compiles unchanged, but load_*() returns false, valid() is false, and render() is a no-op (supported() reports false).

All methods are control/UI-thread only; none are real-time-audio-safe.