Trait script::dom::bindings::codegen::Bindings::WebGPUBinding::GPU_Binding::GPUMethods
source · pub trait GPUMethods<D: DomTypes> {
// Required methods
fn RequestAdapter(
&self,
options: &GPURequestAdapterOptions,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<Promise>;
fn GetPreferredCanvasFormat(&self) -> GPUTextureFormat;
}