GLKTextureLoaderCallback
Signature for the block executed after an asynchronous texture loading operation completes.
Declaration
typealias GLKTextureLoaderCallback = (GLKTextureInfo?, (any Error)?) -> VoidDiscussion
The block parameters are defined as follows:
- textureInfo
A texture info object that describes the loaded texture or
nilif an error occurred.- error
If the operation was successful, this value is nil; otherwise, this parameter holds an object that describes the problem that occurred.