Crates.io | blue_engine |
lib.rs | blue_engine |
version | 0.5.21 |
source | src |
created_at | 2021-02-24 16:56:04.551853 |
updated_at | 2024-11-09 09:54:01.186109 |
description | General-Purpose, Easy-to-use, Fast, and Portable graphics engine |
homepage | |
repository | https://github.com/AryanpurTech/BlueEngine |
max_upload_size | |
id | 360056 |
size | 303,016 |
Make sure to use latest Rust version, as the engine is always kept up to date.
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 3, and Metal as well as Windows, Linux, Mobile, and OSX to ensure cross-platform compatibility.
Hello World:
use blue_engine::{
header::{ Engine, ObjectSettings },
primitive_shapes::triangle
};
fn main() {
// initialize the engine
let mut engine = Engine::new().expect("engine couldn't be initialized");
// create a triangle
triangle("my triangle", ObjectSettings::default(), &mut engine.renderer, &mut engine.objects).unwrap();
// run the engine
engine
.update_loop(move |_, _, _, _, _, _| {})
.expect("Error during update loop");
}
[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 development might seem slow sometimes, its due to multiple repositories being handled and due to my education taking a large chunk of my time. The project isn't dead, just slow.