MCPcopy Index your code
hub / github.com/AryanpurTech/BlueEngine

github.com/AryanpurTech/BlueEngine @v0.10.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.10.0 ↗ · + Follow
255 symbols 464 edges 51 files 127 documented · 50%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Extension points exported contracts — how you extend this code

Signal (Interface)
Allows all events to be fetched directly, making it easier to add custom additions to the engine. [4 implementers]
crates/blue_engine_core/src/prelude/mod.rs

Core symbols most depended-on inside this repo

update_loop
called by 18
crates/blue_engine_core/src/engine.rs
set_position
called by 17
crates/blue_engine_core/src/utils/camera.rs
key_held
called by 10
crates/blue_engine_core/src/utils/winit_input_helper.rs
build_uniform_buffer_part
called by 9
crates/blue_engine_core/src/definition.rs
set_color
called by 9
crates/blue_engine_core/src/objects/transformation.rs
build_uniform_buffer
called by 8
crates/blue_engine_core/src/definition.rs
build_view_projection_matrix
called by 8
crates/blue_engine_core/src/utils/camera.rs
triangle
called by 8
crates/blue_engine_core/src/prelude/primitive_shapes.rs

Shape

Method 181
Class 32
Function 31
Enum 10
Interface 1

Languages

Rust100%

Modules by API surface

crates/blue_engine_core/src/utils/winit_input_helper.rs35 symbols
crates/blue_engine_core/src/definition.rs21 symbols
crates/blue_engine_core/src/utils/camera.rs18 symbols
crates/blue_engine_core/src/objects/transformation.rs17 symbols
crates/blue_engine_core/src/objects/updating.rs14 symbols
crates/blue_engine_utilities/src/definitions/egui_plugin.rs12 symbols
crates/blue_engine_core/src/window.rs11 symbols
crates/blue_engine_utilities/src/definitions/raycast.rs9 symbols
crates/blue_engine_utilities/src/definitions/physics.rs9 symbols
crates/blue_engine_core/src/utils/current_input.rs9 symbols
crates/blue_engine_core/src/objects/instance.rs9 symbols
crates/blue_engine_core/src/render.rs8 symbols

For agents

$ claude mcp add BlueEngine \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact