Skip to main content

Crate wgpu_core

Crate wgpu_core 

Source
Expand description

This library safely implements WebGPU on native platforms. It is designed for integration into browsers, as well as wrapping into other language-specific user-friendly libraries.

§Feature flags

No documented features in Cargo.toml

Re-exports§

pub use naga;

Modules§

api
binding_model
command
Command Encoding
device
error
global
hub
Allocating resource ids, and tracking the resources they refer to.
id
identity
instance
limits
Functionality related to device and adapter limits.
pipeline
present
Presentation.
ray_tracing
registry
resource
storage
validation

Macros§

impl_labeled
impl_parent_device
impl_resource_type
impl_storage_item
impl_trackable

Constants§

MAX_BIND_GROUPS
MAX_COLOR_ATTACHMENTS
MAX_VERTEX_BUFFERS

Functions§

hal_label
map_storage_format_from_naga
Map a naga::StorageFormat to the corresponding wgt::TextureFormat.
map_storage_format_to_naga
Map a wgt::TextureFormat to the corresponding naga::StorageFormat, if any.

Type Aliases§

Label
RawString
SubmissionIndex
The index of a queue submission.