DeviceLostException
public final class DeviceLostException extends Exception
Exception thrown when a GPUDevice is lost and can no longer be used.
Summary
Public constructors |
|---|
DeviceLostException( |
Public methods |
|
|---|---|
final @NonNull GPUDevice |
The |
final int |
The reason code indicating why the device was lost. |
Inherited methods |
|---|
Public constructors
DeviceLostException
Added in 1.0.0-alpha01
public DeviceLostException(
@NonNull GPUDevice device,
int reason,
@NonNull String message
)
Public methods
getDevice
Added in 1.0.0-alpha01
public final @NonNull GPUDevice getDevice()
The GPUDevice that was lost.
getReason
Added in 1.0.0-alpha01
public final int getReason()
The reason code indicating why the device was lost.