<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/TextureResource/Dimensions2DArray",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15TextureResourceC17Dimensions2DArrayV"
  },
  "title" : "TextureResource.Dimensions2DArray"
}
-->

# TextureResource.Dimensions2DArray

The dimensions of the 2D array texture.

```
struct Dimensions2DArray
```

## Overview

This specifies the width, height, and length of the 2D array texture.

## Topics

### Creating the 2D array dimensions

[`static func dimensions(width: Int, height: Int, length: Int) -> TextureResource.Dimensions2DArray`](/documentation/RealityKit/TextureResource/Dimensions2DArray/dimensions(width:height:length:))

Specifies the dimensions of the 2D array texture.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)