<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLMaterial/resolveTextures(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)MDLMaterial(im)resolveTexturesWithResolver:"
  },
  "title" : "resolveTextures(with:)"
}
-->

# resolveTextures(with:)

Resolves all texture string paths as NSURLs with resolver.

```
func resolveTextures(with resolver: any MDLAssetResolver)
```

## Parameters

`resolver`

If non-nil, the resolver converts stringValues or NSURLs to MDLTextureSampler values.

## Discussion

Iterates all material properties. If there are string values, they’re resolved into valid paths as NSURL values by the resolver.

---

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)