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

# isDepthTexture

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

## Declaration

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

## See Also

### Describing a texture argument

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