assertions.rs |
Macros for validation internal to the wgpu.
This module defines assertion macros that respect `wgpu-type`'s
`"strict_asserts"` feature.
Because `wgpu-core`'s public APIs validate their arguments in all
types of builds, for performance, the `track` module skips some of
Rust's usual run-time checks on its internal operations in release
builds. However, some `wgpu-core` applications have a strong
preference for robustness over performance. To accommodate them,
`wgpu-core`'s `"strict_asserts"` feature enables that validation
in both debug and release builds. |
2358 |
counters.rs |
|
6915 |
env.rs |
|
326 |
features.rs |
|
60585 |
instance.rs |
Types for dealing with Instances |
18910 |
lib.rs |
This library describes the API surface of WebGPU that is agnostic of the backend.
This API is used for targeting both Web and Native. |
293781 |
math.rs |
Utilitary math functions. |
789 |