pub trait GPUMethods {
    fn RequestAdapter(
        &self,
        options: &GPURequestAdapterOptions,
        _comp: InRealm<'_>
    ) -> Rc<Promise>; fn GetPreferredCanvasFormat(&self) -> GPUTextureFormat; }

Required Methods§

source

fn RequestAdapter(
    &self,
    options: &GPURequestAdapterOptions,
    _comp: InRealm<'_>
) -> Rc<Promise>

source

fn GetPreferredCanvasFormat(&self) -> GPUTextureFormat

Implementors§