This is a plugin for Bevy engine that replaces default windowing and rendering plugins with miniquad based one.
Add to your Cargo.toml:
[dependencies]
bevy = { version = "0.15", default-features = false }
bevy_miniquad = "0.4"You need to implement your own render function and add it as a resource:
App::build()
.add_default_plugins()
.add_resource::<DrawFn>(Arc::new(Box::new(draw)))
.add_plugin(MiniquadPlugin)This plugin exposes Window resource with window dimensions and cursor position.
This plugin exposes log module with API compatible with log crate, which
works under every miniquad supported platform. See blobs example.