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

blue_engine

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

101 releases (8 breaking)

Uses new Rust 2024

0.9.1 May 5, 2025
0.8.0 Apr 5, 2025
0.7.0 Mar 31, 2025
0.5.21 Nov 9, 2024
0.1.3 Jul 29, 2021

#215 in Game dev

Download history 4/week @ 2025-01-29 36/week @ 2025-02-05 3/week @ 2025-02-12 9/week @ 2025-02-19 51/week @ 2025-02-26 2/week @ 2025-03-05 258/week @ 2025-03-12 33/week @ 2025-03-19 170/week @ 2025-03-26 227/week @ 2025-04-02 117/week @ 2025-04-09 49/week @ 2025-04-16 6/week @ 2025-04-23 125/week @ 2025-04-30 35/week @ 2025-05-07 146/week @ 2025-05-14

317 downloads per month
Used in 3 crates

Apache-2.0

43KB

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
~570K SLoC