invoke

abstract fun invoke(device: Pointer<WGPUDevice>, reason: WGPUDeviceLostReason, message: WGPUStringView, userdata1: Pointer<Unit>, userdata2: Pointer<Unit>)

Parameters

device

Reference to the device which was lost. If, and only if, the reason is WGPUDeviceLostReason.FailedCreation, this is a non-null pointer to a null WGPUDevice.

reason

TODO

message

TODO