pub struct WgpuBackend;Expand description
WGPU backend (WebGPU - cross-platform via wgpu crate)
Uses WGSL shading language, runs on:
- Vulkan (Linux, Windows, Android)
- Metal (macOS, iOS)
- DX12 (Windows)
- WebGPU (browsers via wasm)
Trait Implementations§
Source§impl Backend for WgpuBackend
impl Backend for WgpuBackend
Source§impl Debug for WgpuBackend
impl Debug for WgpuBackend
Source§impl Default for WgpuBackend
impl Default for WgpuBackend
Source§fn default() -> WgpuBackend
fn default() -> WgpuBackend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WgpuBackend
impl RefUnwindSafe for WgpuBackend
impl Send for WgpuBackend
impl Sync for WgpuBackend
impl Unpin for WgpuBackend
impl UnsafeUnpin for WgpuBackend
impl UnwindSafe for WgpuBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more