Loads the textures of multiple atlases into memory, calling a completion handler after the task completes.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
An array containing the atlas names to preload.
A block called after all of the texture atlases are loaded.
SpriteKit creates a background task that loads the texture data from all of the specified atlas objects. Then, SpriteKit returns control to your game. After the atlases are loaded, your completion handler is called.