Optional
productionFlag indicating whether we're running the production mode or not. If not, useful warnings could be logged to the console.
Optional
adapterAdditional options to use when requesting an adapter.
Optional
autoWhether the GPUDeviceManager should create its own requestAnimationFrame loop to render or not.
Optional
labelThe label of the GPUDeviceManager, used to create the GPUDevice for debugging purpose.
Optional
onOptional
onCallback to run whenever the device is lost.
Optional
onCallback to run whenever the device has been intentionally destroyed.
Parameters used to create a GPUDeviceManager.