---
title: width
framework: glkit
role: symbol
role_heading: Instance Property
path: glkit/glktextureinfo/width-swift.property
---

# width

The width of the loaded texture.

## Declaration

```swift
var width: GLuint { get }
```

## See Also

### Reading Texture Information

- [name](glkit/glktextureinfo/name-swift.property.md)
- [target](glkit/glktextureinfo/target-swift.property.md)
- [height](glkit/glktextureinfo/height-swift.property.md)
- [textureOrigin](glkit/glktextureinfo/textureorigin-swift.property.md)
- [alphaState](glkit/glktextureinfo/alphastate-swift.property.md)
- [containsMipmaps](glkit/glktextureinfo/containsmipmaps-swift.property.md)
