lu15w1r7h / eww Goto Github PK
View Code? Open in Web Editor NEWNOT MAINTAINED: egui + winit + wgpu
NOT MAINTAINED: egui + winit + wgpu
When cargo running the eww example, these are the errors shown by the compiler
error[E0433]: failed to resolve: could not find `BackendBit` in `wgpu`
--> eww\examples\basic.rs:93:50
|
93 | let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY);
| ^^^^^^^^^^ could not find `BackendBit` in `wgpu`
error[E0433]: failed to resolve: could not find `TextureUsage` in `wgpu`
--> eww\examples\basic.rs:118:26
|
118 | usage: wgpu::TextureUsage::RENDER_ATTACHMENT,
| ^^^^^^^^^^^^ could not find `TextureUsage` in `wgpu`
error[E0412]: cannot find type `SwapChain` in crate `wgpu`
--> eww\examples\basic.rs:88:23
|
88 | swap_chain: wgpu::SwapChain,
| ^^^^^^^^^ not found in `wgpu`
error[E0422]: cannot find struct, variant or union type `SwapChainDescriptor` in crate `wgpu`
--> eww\examples\basic.rs:117:29
|
117 | let sc_desc = wgpu::SwapChainDescriptor {
| ^^^^^^^^^^^^^^^^^^^ not found in `wgpu`
error[E0599]: no method named `create_swap_chain` found for struct `Device` in the current scope
--> eww\examples\basic.rs:125:33
|
125 | let swap_chain = device.create_swap_chain(&surface, &sc_desc);
| ^^^^^^^^^^^^^^^^^ method not found in `Device`
When trying to run the example on my computer, before the first frame, I'm getting:
thread 'main' panicked at 'wgpu error: Validation Error
Caused by:
In Device::create_render_pipeline
note: label = `egui_wgpu_pipeline`
parent device is lost
The Wgpu examples run just fine, I could not find a cause to this error
Having an example to start using this library would be very helpful. It's the first thing I looked for and couldn't find.
Love the name of this by the way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.