WebGPU brings Metal-level performance to Safari across all Apple platforms with near one-to-one API mapping, enabling general-purpose GPU computing in browsers.
Supported on macOS, iOS, iPadOS, visionOS with native Metal backend; third-party libraries like ThreeJS and Babylon.js already support WebGPU, allowing a single codebase to run across all Apple platforms.
Core architecture involves a graphics pipeline flow from web content to Metal framework to GPU hardware, utilizing resource types like buffers, textures, samplers, and GPU bind groups.
WebGPU offers key features like secure browser execution, Apple's heavy involvement in WGSL design and implementation, and performance optimization strategies for memory efficiency, render bundle, resource minimization, and Apple platform optimizations.