---
title: isDepthTexture
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltexturereferencetype/isdepthtexture
---

# isDepthTexture

A Boolean value that indicates whether the texture is a depth texture.

## Declaration

```swift
var isDepthTexture: Bool { get }
```

## See Also

### Describing the texture

- [textureType](metal/mtltexturereferencetype/texturetype.md)
- [textureDataType](metal/mtltexturereferencetype/texturedatatype.md)
- [access](metal/mtltexturereferencetype/access.md)
