Exports the texture data to an image file at the specified URL, of the specified type.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Model I/O
The file URL at which to write the texture image.
A Uniform Type Identifier declaring the image file format to use for export.
YES if export succeeded;
type parameter, pass the Uniform Type Identifier for any output format supported by the Image I/O framework, such as the JPEG, TIFF, PNG, or (in macOS only) OpenEXR format. For details, see Uniform Type Identifiers Reference.