Asynchronously loads a cube map texture image from a single file and creates a new texture from the data.
- iOS 5.0–12.0Deprecated
- macOS 10.8–10.14Deprecated
- tvOS 9.0–12.0Deprecated
A path to the file to load.
A dictionary that describes any additional steps you want the texture loader to take when loading the texture. See Texture Loading Options.
A dispatch queue that your block is called on when the task completes. If
NULLis passed, the block is called on the main dispatch queue.
A block to be called when the task completes.
This method is identical to
cube, except that it loads the texture asynchronously. When this method is called, it creates a new background task to handle the request and then returns control to your app. Later, when the task is complete, GLKit calls your completion handler on the queue you provided.