---
title: "newTextureView(with:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtltexture/newtextureview(with:)"
---

# newTextureView(with:)

## Declaration

```swift
func newTextureView(with descriptor: MTLTextureViewDescriptor) -> (any MTLTexture)?
```

## Discussion

Discussion Create a new texture which shares the same storage as the source texture, but with different (but compatible) properties specified by the descriptor
