Experimental WebGPU renderer backend for xeokit Viewers.
WebGPURenderer is the WebGPU rendering backend for
Viewer. It owns WebGPU device acquisition,
viewer attachment, render lifecycle events, picking, snapping, memory
diagnostics, and render diagnostics. Per-view canvas state and GPU resources
are managed internally.
The renderer uses browser WebGPU APIs. Use WebGPURenderer.isSupported
before offering WebGPU as a required backend, and prefer
WebGPURenderer.create when the renderer should request its own
adapter and device.
xeokit WebGPU Renderer
Experimental WebGPU renderer backend for xeokit Viewers.
WebGPURenderer is the WebGPU rendering backend for Viewer. It owns WebGPU device acquisition, viewer attachment, render lifecycle events, picking, snapping, memory diagnostics, and render diagnostics. Per-view canvas state and GPU resources are managed internally.
The renderer uses browser WebGPU APIs. Use WebGPURenderer.isSupported before offering WebGPU as a required backend, and prefer WebGPURenderer.create when the renderer should request its own adapter and device.
Basic Usage
Injecting A Device
Pass a pre-created device when another part of the application owns WebGPU device creation.
Render And Memory Configuration
Diagnostics