---
title: textureType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlargument/texturetype
---

# textureType

The texture type of a texture argument.

## Declaration

```swift
var textureType: MTLTextureType { get }
```

## Discussion

Discussion For information on possible values, see MTLTextureType. If the argument is not a texture, querying this property is a fatal error.

## See Also

### Describing a texture argument

- [textureDataType](metal/mtlargument/texturedatatype.md)
- [isDepthTexture](metal/mtlargument/isdepthtexture.md)
