Giter Site home page Giter Site logo

blueengine's Introduction

Blue Engine

Rust Linux Rust Windows Rust MacOS

Minimum Rust Version: 1.60.0 (required for the per feature dependency)

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 3, and Metal as well as Windows, Linux, and OSX to ensure cross-platform compatibility.

Hello World:

use blue_engine::{
    header::{
        Engine, ObjectSettings, WindowDescriptor
    },
    primitive_shapes::triangle
};

fn main() {
    // initialize the engine
    let mut engine = Engine::new(WindowDescriptor::default()).expect("win");

    // create a triangle
    let _ = triangle(ObjectSettings::default(), &mut engine).unwrap();

    // run the engine
    engine
        .update_loop(move |_, _, _, _, _| {})
        .expect("Error during update loop");
}

NOTE: You need to add resolver = "2" on your Cargo.toml under [package] section. This is because of migration to newer versions of Rust and dependencies of this engine.

blueengine's People

Contributors

elhamaryanpur avatar pauldotsh avatar dependabot-preview[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.