#opengl #visualization #graphics #engine #status

sky_renderer

A high-performance minimalistic 2D rendering engine

4 releases

Uses new Rust 2024

new 0.1.6 May 4, 2025
0.1.5 May 4, 2025

#198 in Graphics APIs

Download history

172 downloads per month

MIT license

98KB
1.5K SLoC

C 1K SLoC // 0.0% comments Rust 404 SLoC C++ 245 SLoC // 0.0% comments

sky_renderer

sky_renderer is a high-performance minimalistic 2D rendering engine built in Rust with native bindings to OpenGL. This initial release provides only basic low-level bindings to OpenGL and is not yet usable for real applications. Future versions will add support for additional drawing primitives such as lines, shapes, and texts as well as a higher-level rendering API on top of OpenGL.

🚧 Status

Early release on crates.io. The current version provides only low-level OpenGL bindings and is not yet suitable for production use. The bindings can nonetheless be used in your own code if you are looking for a minimalistic API to OpenGL. If a specific binding for your use-case is missing, please let me know.

🔧 Installation

Linux

Make sure you have all dependencies installed on your system:

sudo apt-get install libgl1-mesa-dev
sudo apt install mesa-utils
sudo apt install libglfw3-dev

You will also need a C/C++ compiler as well as cmake installed on your system.

You can simply add sky_renderer as a dependency to your project. When building your project, cargo will first trigger a C/C++ build (using cmake) of the static library (libglrenderer) containing the sky_renderer ffi bindings to OpenGL. The entire process should be totally transparent to your project.

MacOS

Coming soon...

Windows

Coming soon...

📦 Examples

Please refer to the examples provided in the sky_renderer GitHub repository. These will be updated as new features are added.

No runtime deps

~0–320KB