Synchronously loads image data and creates a Metal texture from the specified Model I/O texture.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
A Model I/O texture object containing image data from which to create the texture.
A dictionary describing any additional texture loading steps. See Texture Loading Options.
A pointer to an
NSErrorobject if an error occurred, or
nilif the texture was fully loaded and initialized.
A fully loaded and initialized Metal texture, or
nil if an error occurred.