Trait wgpu_core::hal_api::HalApi

source ·
pub trait HalApi: Api + 'static + WasmNotSendSync {
    const VARIANT: Backend;
}

Required Associated Constants§

source

const VARIANT: Backend

Object Safety§

This trait is not object safe.

Implementors§

source§

impl HalApi for Empty

source§

const VARIANT: Backend = Backend::Empty

source§

impl HalApi for Gles

Available on gles only.
source§

const VARIANT: Backend = Backend::Gl

source§

impl HalApi for Vulkan

Available on vulkan only.
source§

const VARIANT: Backend = Backend::Vulkan