pub trait GPUMethods<D: DomTypes> {
    // Required methods
    fn RequestAdapter(
        &self,
        options: &GPURequestAdapterOptions,
        _comp: InRealm<'_>,
        _can_gc: CanGc,
    ) -> Rc<Promise>;
    fn GetPreferredCanvasFormat(&self) -> GPUTextureFormat;
}

Required Methods§

Implementors§