---
title: MDLURLTexture
framework: modelio
role: symbol
role_heading: Class
path: modelio/mdlurltexture
---

# MDLURLTexture

A lightweight reference to a URL from which to load texture data.

## Declaration

```swift
class MDLURLTexture
```

## Overview

Overview Unlike the superclass MDLTexture, the MDLURLTexture class loads texel data from the file at that URL only when that data is first referenced, and then caches it for future use.

## Topics

### Creating a URL Texture

- [init(url:name:)](modelio/mdlurltexture/init(url:name:)-1y03u.md)

### Inspecting the Texture URL

- [url](modelio/mdlurltexture/url.md)

### Initializers

- [init(URL:name:)](modelio/mdlurltexture/init(url:name:)-5dfk1.md)

## Relationships

### Inherits From

- [MDLTexture](modelio/mdltexture.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MDLNamed](modelio/mdlnamed.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Textures

- [MDLTexture](modelio/mdltexture.md)
- [MDLCheckerboardTexture](modelio/mdlcheckerboardtexture.md)
- [MDLColorSwatchTexture](modelio/mdlcolorswatchtexture.md)
- [MDLNoiseTexture](modelio/mdlnoisetexture.md)
- [MDLNormalMapTexture](modelio/mdlnormalmaptexture.md)
- [MDLSkyCubeTexture](modelio/mdlskycubetexture.md)
- [MDLTextureFilter](modelio/mdltexturefilter.md)
- [MDLTextureSampler](modelio/mdltexturesampler.md)
