Missing imports for webgpu

Are you sure there’s no errors before this one?

createBuffer is a method of GPUDevice, so there should be an error that says that WebGPU could not be initialized/the device could not be created.

Are you creating the WebGPU engine with some code like:

const engine = new BABYLON.WebGPUEngine(canvas);
await engine.initAsync();

?

1 Like