Asynchronously loads image data and creates Metal textures from the specified list of named texture assets in an asset catalog.
- macOS 10.12+
An array of strings, each the name of a texture in an asset catalog.
The version of the texture based on the Gamut trait in Xcode.
To determine the appropriate parameter value, pass the widest
NSDisplayvalue that returns
truewhen queried against the
Represent Display Gamut:
The resource bundle containing the asset catalog to load textures from.
A block called after all assets have been processed. See the
MTKTexturesignature to determine whether each texture has successfully loaded.
Loader .Array Callback