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

# dimensions(width:height:depth:)

Specifies the dimensions of the 3D texture.

## Declaration

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

## Discussion

Discussion The content specifies the number of mipmap levels.
