---
title: MTKTextureLoader.Callback
framework: metalkit
role: symbol
role_heading: Type Alias
path: metalkit/mtktextureloader/callback
---

# MTKTextureLoader.Callback

The signature for the block executed after an asynchronous loading operation for a single texture has completed.

## Declaration

```swift
typealias Callback = ((any MTLTexture)?, (any Error)?) -> Void
```

## Discussion

Discussion The block parameters are defined as follows:

## See Also

### Completing a Texture Loading Operation

- [MTKTextureLoader.ArrayCallback](metalkit/mtktextureloader/arraycallback.md)
