Module device

Module device 

Source

Re-exportsยง

pub use resource::Device;

Modulesยง

bgl ๐Ÿ”’
global
life ๐Ÿ”’
queue
ray_tracing
resource
surface_config ๐Ÿ”’
Validation of a surface configuration against its capabilities, including resolving SurfaceColorSpace::Auto (and present/alpha Auto) to concrete values. Split out of the very large resource.rs.
tracetrace or replay

Structsยง

AttachmentData ๐Ÿ”’
DeviceLostInvocation
DeviceMismatch
MissingDownlevelFlags
MissingFeatures
RenderPassContext ๐Ÿ”’
UserClosures

Enumsยง

DeviceError
HostMap
RenderPassCompatibilityError
WaitIdleError

Constantsยง

ENTRYPOINT_FAILURE_ERROR ๐Ÿ”’
SHADER_STAGE_COUNT
ZERO_BUFFER_SIZE ๐Ÿ”’

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.
map_buffer ๐Ÿ”’

Type Aliasesยง

BufferMapPendingClosure
DeviceDescriptor
DeviceLostClosuresend_sync