Creates a new WebGpuDeviceWrapper instance. Initializes the WebGPU context and configures the canvas with the provided device.
The HTML canvas element to be used for WebGPU rendering
The WebGPU adapter for the graphics hardware
The WebGPU device for executing GPU operations
Gets the HTML canvas element associated with this wrapper.
The canvas element used for WebGPU rendering
Gets the WebGPU canvas context associated with this wrapper.
The configured WebGPU canvas context for rendering
Gets the WebGPU adapter associated with this wrapper.
The WebGPU adapter representing the graphics hardware
Gets the WebGPU device associated with this wrapper.
The WebGPU device for executing GPU operations
A wrapper class for WebGPU device management and canvas context configuration. This class encapsulates the WebGPU adapter, device, and canvas context, providing a convenient interface for WebGPU rendering operations.