---
title: width
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowleveltextureresource/descriptor-swift.struct/width
---

# width

The width of the texture image for the base mipmap level, in pixels.

## Declaration

```swift
var width: Int { get set }
```

## Discussion

Discussion Corresponds to MTLTextureDescriptor.width.
