Name Description Size Coverage
adapter.rs 11026 -
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 -
backend.rs [`Backend`], [`Backends`], and backend-specific options. 23566 -
binding.rs Bind groups and the bindings in them. 13446 -
buffer.rs 8189 -
cast_utils.rs 999 -
counters.rs 7170 -
device.rs 4300 -
env.rs 326 -
error.rs Shared types for WebGPU errors. See also: <https://gpuweb.github.io/gpuweb/#errors-and-debugging> 1704 -
features.rs 71417 -
instance.rs Types for dealing with Instances. 15300 -
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. 22558 -
limits.rs [`Limits`] and downlevel-related types. 47409 -
math.rs Utility math functions. 787 -
origin_extent.rs 5721 -
ray_tracing.rs 7702 -
render.rs Types for configuring render passes and render pipelines (except for vertex attributes). 34910 -
send_sync.rs 1641 -
shader.rs 7415 -
surface.rs 15079 -
texture -
texture.rs 40683 -
tokens.rs 2715 -
transfers.rs 17778 -
vertex.rs Types for defining vertex attributes and their buffers. 11895 -