resolveTextures(with:)
Resolves all texture string paths as NSURLs with resolver.
Declaration
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.