Skip to main content

GPUAdapterMethods

pub trait GPUAdapterMethods<D: DomTypes> {
    // Required methods
    fn Features(&self) -> DomRoot<D::GPUSupportedFeatures>;
    fn Limits(&self) -> DomRoot<D::GPUSupportedLimits>;
    fn Info(&self) -> DomRoot<D::GPUAdapterInfo>;
    fn RequestDevice(
        &self,
        realm: &mut CurrentRealm<'_>,
        descriptor: &GPUDeviceDescriptor,
    ) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
}

Required Methods§

Implementors§