Ad

rive-runtime: C++ Runtime for Rive Animations

This project provides a C++ runtime library for rendering Rive animations, enabling developers to integrate interactive vector graphics into their applications. It supports Metal, Vulkan, D3D12, D3D11, and OpenGL/WebGL.
Screenshot of rive-app/rive-runtime homepage

rive-runtime enables developers to integrate Rive animations into their C++ applications. It provides a low-level runtime library for loading and rendering Rive designs. The library facilitates accessing and manipulating animation data within C++ code, offering a performant and flexible solution for real-time vector graphics.

The runtime features a state-of-the-art vector renderer supporting multiple graphics APIs. It offers an abstract renderer interface for easy integration with custom rendering solutions. Includes a comprehensive testing framework using Catch2 and a disassembly explorer task for debugging.

  • Artboard Loading: Load Rive artboards and their contents from .riv files efficiently.
  • Animation Handling: Query and manipulate LinearAnimations and StateMachines within artboards.
  • Rendering: Provides support for Metal, Vulkan, D3D12, D3D11, and OpenGL/WebGL rendering APIs.
  • Extensible: Offers an abstract renderer interface allowing integration with custom rendering backends.
  • Testing: Comprehensive unit tests using Catch2 framework.
  • Disassembly: Provides a task to generate and preview assembly code for debugging.
  • Build System: Utilizes premake5 for cross-platform build configurations.

The project is actively maintained with recent commits and a growing community. Testing covers core functionalities, and there's an issue reporting system for tracking bugs and enhancements. Documentation is present and covers the build, testing, and usage aspects of the runtime.

rive-runtime empowers developers to seamlessly integrate interactive vector animations into their C++ applications. It's beneficial for game developers, interactive designers, and anyone seeking to leverage Rive's capabilities in C++ projects. The runtime offers a performant alternative to other rendering solutions, providing control and flexibility for advanced applications.

Summarize:
Share:
Stars
1,110
Forks
111
Issues
63
Created
3 years ago
Commit
17 days ago
License
MIT
Archived
No
Updated 12 days ago

Similar Repositories