---
title: textureType
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/texturetopology/texturetype
---

# textureType

The texture type value that specifies how the underlying texture organizes its views.

## Declaration

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

## Discussion

Discussion A texture might store the content of one view or multiple views. For example, a single texture might store one or both views for the left and right eyes of a head-mounted display. The texture type indicates this content organization strategy.

## See Also

### Getting the layer’s texture topology

- [arrayLength](compositorservices/texturetopology/arraylength.md)
