Initializes a texture that loads its texel data from a file at the specified URL.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The URL from which to load texture data.
name property for the new texture object.
A new URL-backed texture.
This initializer does not load texel data from the URL; the
MDLURLTexture class automatically loads data and caches it for reuse when you use one of the
MDLTexture methods listed in Accessing Texture Data.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software