
* Re-implement PaintCallbacks With Support for WGPU This makes breaking changes to the PaintCallback system, but makes it flexible enough to support both the WGPU and glow backends with custom rendering. Also adds a WGPU equivalent to the glow demo for custom painting.
45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
[package]
|
|
name = "egui-wgpu"
|
|
version = "0.18.0"
|
|
description = "Bindings for using egui natively using the wgpu library"
|
|
authors = [
|
|
"Nils Hasenbanck <nils@hasenbanck.de>",
|
|
"embotech <opensource@embotech.com>",
|
|
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
|
|
]
|
|
edition = "2021"
|
|
rust-version = "1.60"
|
|
homepage = "https://github.com/emilk/egui/tree/master/egui-wgpu"
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/emilk/egui/tree/master/egui-wgpu"
|
|
categories = ["gui", "game-development"]
|
|
keywords = ["wgpu", "egui", "gui", "gamedev"]
|
|
include = [
|
|
"../LICENSE-APACHE",
|
|
"../LICENSE-MIT",
|
|
"**/*.rs",
|
|
"**/*.wgsl",
|
|
"Cargo.toml",
|
|
]
|
|
|
|
|
|
|
|
[features]
|
|
# Make it easy to create bindings for winit.
|
|
winit = ["dep:pollster", "dep:winit"]
|
|
|
|
|
|
[dependencies]
|
|
egui = { version = "0.18.1", path = "../egui", default-features = false, features = [
|
|
"bytemuck",
|
|
] }
|
|
|
|
bytemuck = "1.7"
|
|
tracing = "0.1"
|
|
type-map = "0.5.0"
|
|
wgpu = { version = "0.12", features = ["webgl"] }
|
|
|
|
# Optional:
|
|
pollster = { version = "0.2", optional = true }
|
|
winit = { version = "0.26", optional = true }
|