---
title: MTLTextureViewDescriptor
framework: metal
role: symbol
role_heading: Class
path: metal/mtltextureviewdescriptor
---

# MTLTextureViewDescriptor

## Declaration

```swift
class MTLTextureViewDescriptor
```

## Topics

### Instance Properties

- [levelRange](metal/mtltextureviewdescriptor/levelrange-55q8m.md)
- [pixelFormat](metal/mtltextureviewdescriptor/pixelformat.md)
- [sliceRange](metal/mtltextureviewdescriptor/slicerange-6nq6v.md)
- [swizzle](metal/mtltextureviewdescriptor/swizzle.md)
- [textureType](metal/mtltextureviewdescriptor/texturetype.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### View pools

- [MTLResourceViewPool](metal/mtlresourceviewpool.md)
- [MTLResourceViewPoolDescriptor](metal/mtlresourceviewpooldescriptor.md)
- [MTLTextureViewPool](metal/mtltextureviewpool.md)
