DeviceLostException


class DeviceLostException : Exception


Exception thrown when a GPUDevice is lost and can no longer be used.

Summary

Public constructors

DeviceLostException(device: GPUDevice, reason: Int, message: String)

Public properties

GPUDevice

The GPUDevice that was lost.

Int

The reason code indicating why the device was lost.

Inherited properties

From kotlin.Throwable

Public constructors

DeviceLostException

Added in 1.0.0-alpha01
DeviceLostException(device: GPUDevice, reason: Int, message: String)
Parameters
device: GPUDevice

The GPUDevice that was lost.

reason: Int

The reason code indicating why the device was lost.

message: String

A human-readable message describing the device loss.

Public properties

device

Added in 1.0.0-alpha01
val deviceGPUDevice

The GPUDevice that was lost.

reason

Added in 1.0.0-alpha01
val reasonInt

The reason code indicating why the device was lost.