Click or drag to resize
AB4D logo

DXSceneHandleDeviceRemoved Method

HandleDeviceRemoved is called when a DirectX device is removed or reset. The method gets device removed reason from DirectX API and then calls the DeviceRemoved event handler. If the event handler handles the event, then the method returns. Otherwise the method throws an DXEngineException with description from specified message and device removed reason.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public void HandleDeviceRemoved(
	string message,
	SharpDXException sharpDxException
)

Parameters

message  String
message that describes where the device removal happened
sharpDxException  SharpDXException
SharpDXException with result code DeviceRemoved or DeviceReset
See Also