---
title: arrayLength
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/texturetopology/arraylength
---

# arrayLength

The number of items in the texture array.

## Declaration

```swift
var arrayLength: UInt64 { get }
```

## Discussion

Discussion Array-based texture types such as MTLTextureType.type2DArray manage one or more images of the same size. The array length represents the number of separate images the texture manages. Other array types store only one image.

## See Also

### Getting the layer’s texture topology

- [textureType](compositorservices/texturetopology/texturetype.md)
