Raxol.Terminal.Config.AnimationCache (Raxol v0.5.0)
View SourceManages caching for terminal animations using the unified caching system.
Summary
Functions
Caches an animation.
Clears the animation cache.
Decompresses an animation.
Gets animation cache statistics.
Gets the current cache size.
Gets a cached animation.
Initializes the animation cache.
Preloads a single animation.
Preloads animations from the preload directory.
Functions
Caches an animation.
Parameters
animation_path
- Path to the animation fileanimation_type
- Type of animation (:gif, :video, :shader, :particle)
Clears the animation cache.
Decompresses an animation.
Parameters
compressed_data
- Compressed animation data
Gets animation cache statistics.
Gets the current cache size.
Gets a cached animation.
Parameters
animation_path
- Path to the animation file
Initializes the animation cache.
Preloads a single animation.
Parameters
animation_path
- Path to the animation file
Preloads animations from the preload directory.