Crates.io | new-egui-macroquad |
lib.rs | new-egui-macroquad |
version | |
source | src |
created_at | 2024-12-10 20:24:19.177852 |
updated_at | 2024-12-10 20:24:19.177852 |
description | Bindings between egui and macroquad |
homepage | https://github.com/optozorax/new-egui-macroquad |
repository | https://github.com/optozorax/new-egui-macroquad |
max_upload_size | |
id | 1479047 |
Cargo.toml error: | TOML parse error at line 27, column 1 | 27 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This crate is just a fork of egui-miniquad. For documentation, go there
use macroquad::prelude::*;
#[macroquad::main("egui with macroquad")]
async fn main() {
loop {
clear_background(WHITE);
// Process keys, mouse etc.
egui_macroquad::ui(|egui_ctx| {
egui::Window::new("egui ❤ macroquad")
.show(egui_ctx, |ui| {
ui.label("Test");
});
});
// Draw things before egui
egui_macroquad::draw();
// Draw things after egui
next_frame().await;
}
}