---
title: "resolveTextures(with:)"
framework: modelio
role: symbol
role_heading: Instance Method
path: "modelio/mdlmaterial/resolvetextures(with:)"
---

# resolveTextures(with:)

Resolves all texture string paths as NSURLs with resolver.

## Declaration

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

## Parameters

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

## Discussion

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

## See Also

### Working with textures using resolvers

- [loadTextures(using:)](modelio/mdlmaterial/loadtextures(using:).md)
