UncapturedErrorCallback


fun interface UncapturedErrorCallback


Summary

Public functions

Unit
onUncapturedError(device: GPUDevice, type: Int, message: String)

A callback function invoked when an uncaptured GPU error occurs on a device.

Public functions

onUncapturedError

Added in 1.0.0-alpha01
fun onUncapturedError(device: GPUDevice, type: Int, message: String): Unit

A callback function invoked when an uncaptured GPU error occurs on a device.

Parameters
device: GPUDevice

The device where the uncaptured error occurred.

type: Int

The type of the uncaptured error.

message: String

A human-readable message describing the uncaptured error.