---
title: "dimensions(width:height:length:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/textureresource/dimensions2darray/dimensions(width:height:length:)"
---

# dimensions(width:height:length:)

Specifies the dimensions of the 2D array texture.

## Declaration

```swift
static func dimensions(width: Int, height: Int, length: Int) -> TextureResource.Dimensions2DArray
```

## Discussion

Discussion The content specifies the number of mipmap levels.
