finishSuspend()
Notifies the virtualized graphics device to finish suspending graphics activities.
Declaration
func finishSuspend() -> Data?Return Value
The suspend state data, or nil if an error occurred.
Discussion
This method may take an arbitrary amount of time as the device needs to complete any unfinished GPU work. After this call completes, you can’t perform any further operations on this device object and must release it.
Typically, your app serializes the suspend state data to persistant storage. Pass the suspend state data to a new device object when you want to resume graphics operations.