destroyEngine

Destroys the engine with the given object ID, releasing its resources.

Call this when an engine created with createEngine is no longer needed.

Return

A result indicating success, or an error if the engine could not be destroyed.

Parameters

objectId

The object ID of the engine to destroy.