File: WebGPU.md | Updated: 11/15/2025
A utility module with basic WebGPU capability testing.
WebGPU is an addon, and must be imported explicitly, see Installation#Addons.
import WebGPU from 'three/addons/capabilities/WebGPU.js';
Returns a div element representing a formatted error message that can be appended in web sites if WebGPU isn't supported.
Returns: A div element representing a formatted error message that WebGPU isn't supported.
Returns true if WebGPU is available.
Returns: Whether WebGPU is available or not.