Skip to main content

Module gpuconvert

Module gpuconvert 

Source

Traitsยง

WebGPUConvert
A version of the Into<T> trait from the standard library that can be used to convert between two types that are not defined in the script crate. This is intended to be used on dict/enum types generated from WebIDL once those types are moved out of the script crate. Only for WebGPU.
WebGPUTryConvert
A version of the TryInto<T> trait from the standard library that can be used to convert between two types that are not defined in the script crate. This is intended to be used on dict/enum types generated from WebIDL once those types are moved out of the script crate. Only for WebGPU.

Functionsยง

convert_bind_group_entry ๐Ÿ”’
convert_bind_group_layout_entry ๐Ÿ”’
convert_load_op
convert_texture_descriptor
convert_texture_for_wgpu_with_cx