egui/crates/egui-wgpu/src
Lukas Hermann f9066ff285
[WGPU] Allow for depth buffer in web target (#2335)
* Add depth stencil initialization to `Painter`

* Move depth stencil initialization into `resize_and_generate_depth_texture_view`, and call it in `set_window` and `on_window_resized`

* Allow for depth texture in WASM builds

* change `map` to `if let` statement

* use reference for render state

* Clean up descriptors and move texture generation to on resize events

* remove unused field from WebOptions
2022-11-24 20:40:53 +01:00
..
egui.wgsl Improve text redering and do all color operation in gamma space (#2071) 2022-09-24 17:53:11 +02:00
lib.rs [WGPU] Allow for depth buffer in web target (#2335) 2022-11-24 20:40:53 +01:00
renderer.rs Opt-in logging of egui-wgpu using puffin 2022-11-10 16:28:08 +01:00
winit.rs [wgpu] Add depth stencil initialization to Painter (#2316) 2022-11-21 10:08:24 +01:00