Tells the delegate to export an image attached to a scene.
- iOS 10.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 10.0+
An image attached to the scene being exported.
The URL the scene is being exported to.
The URL the image was originally loaded from, or
nilif the image was not previously loaded from a URL.
The URL your app exported the image to, or
nil if your app did not write the image to a URL.
If you implement this method, Scene Kit calls it for each image (for example, a texture) attached to the scene. Your app can then save the image data in a location and format of your choice, returning a URL for the exported image file.
If you do not provide a delegate when exporting a scene, or if your delegate returns
nil from this method, Scene Kit exports the image in a default format to a default location.