<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKTextureLoaderCallback",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@T@GLKTextureLoaderCallback"
  },
  "title" : "GLKTextureLoaderCallback"
}
-->

# GLKTextureLoaderCallback

Signature for the block executed after an asynchronous texture loading operation completes.

```
typealias GLKTextureLoaderCallback = (GLKTextureInfo?, (any Error)?) -> Void
```

## Discussion

The block parameters are defined as follows:

- *textureInfo*: A texture info object that describes the loaded texture or `nil` if 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)