---
title: "dimensions(faceSize:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/textureresource/dimensionscube/dimensions(facesize:)"
---

# dimensions(faceSize:)

Specifies the dimensions of the cube texture.

## Declaration

```swift
static func dimensions(faceSize: Int) -> TextureResource.DimensionsCube
```

## Discussion

Discussion The content specifies the number of mipmap levels.
