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

# textureType

The texture type of a texture argument.

## Declaration

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

## Discussion

Discussion For a nontexture argument, this value is ignored.

## See Also

### Setting the descriptor’s properties

- [dataType](metal/mtlargumentdescriptor/datatype.md)
- [index](metal/mtlargumentdescriptor/index.md)
- [access](metal/mtlargumentdescriptor/access.md)
- [arrayLength](metal/mtlargumentdescriptor/arraylength.md)
- [constantBlockAlignment](metal/mtlargumentdescriptor/constantblockalignment.md)
