Skip to main content

Module device

Module device 

Available on crate feature unstable-wgpu-29 only.

Modules§

global
queue
ray_tracing
resource

Structs§

Device
Structure describing a logical device. Some members are internally mutable, stored behind mutexes.
DeviceLostInvocation
DeviceMismatch
MissingDownlevelFlags
MissingFeatures
UserClosures

Enums§

DeviceError
HostMap
RenderPassCompatibilityError
WaitIdleError

Constants§

SHADER_STAGE_COUNT

Functions§

create_validator
Create a naga::valid::Validator configured for the given feature set.
features_to_naga_capabilities
Map wgt::Features and wgt::DownlevelFlags to naga::valid::Capabilities.

Type Aliases§

BufferMapPendingClosure
DeviceDescriptor
DeviceLostClosuresend_sync