mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
3e8ab741fd9e51fe95fe2e068d6febf23bc33a07
466: add debug trait for public types r=kvark a=Andful This pull request is to resolve the issue #458. This pull request is still incomplete. The only problematic trait is `RenderBundleEncoder`. For the native version, `RenderBundleEncoder` does not implement `Debug`. This would have to be implemented in the wgpu project. FYI, Context does not need to implement `Debug`. The type that implements `Context` is used directly, i.e. `Arc<C>` is used and not `Arc<dyn Context>` Co-authored-by: Andrea Nardi <buongiorno19972@gmail.com>
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%