#3d #graphics-rendering #2d-rendering #gamedev

blue_engine

General-Purpose, Easy-to-use, Fast, and Portable graphics engine

100 releases (8 breaking)

Uses new Rust 2024

new 0.9.0 Apr 13, 2025
0.7.1 Apr 1, 2025
0.7.0 Mar 31, 2025
0.5.21 Nov 9, 2024
0.1.3 Jul 29, 2021

#472 in Game dev

Download history 154/week @ 2024-12-29 126/week @ 2025-01-05 146/week @ 2025-01-12 15/week @ 2025-01-19 1/week @ 2025-01-26 36/week @ 2025-02-02 3/week @ 2025-02-09 10/week @ 2025-02-16 19/week @ 2025-02-23 35/week @ 2025-03-02 129/week @ 2025-03-09 148/week @ 2025-03-16 18/week @ 2025-03-23 304/week @ 2025-03-30 95/week @ 2025-04-06

691 downloads per month
Used in 3 crates

Apache-2.0

42KB

Build rust-clippy analyze Static Badge Static Badge

Make sure to use latest Rust version, as the engine is always kept up to date.

About

Blue Engine is a general-purpose, easy-to-use, extendable, and portable graphics engine written in rust. The engine can run on many popular back-end APIs including Vulkan, D3D-12, GL-ES, and Metal as well as Windows, Linux, Mobile, and OSX to ensure cross-platform compatibility.

Hello World:

use blue_engine::{
    prelude::{ Engine, ObjectSettings },
    primitive_shapes::triangle
};

fn main() -> Result<(), blue_engine::error::Error> {
    // initialize the engine
    let mut engine = Engine::new()?;

    // create a triangle
    triangle("my triangle", ObjectSettings::default(), &mut engine.renderer, &mut engine.objects)?;

    // run the engine
    engine
        .update_loop(move |_, _, _, _, _, _| {})?;

    Ok(())
}
  • [WIP] Guide

  • Check out the examples folder to get a sense of how things are done

  • Check out the utilities library for extra functionality with the engine

the credits to the image on top: NotPB

The project isn't dead, just the development might seem slow sometimes.

Dependencies

~0–36MB
~566K SLoC