---
title: WidgetTexture
framework: widgetkit
role: symbol
role_heading: Structure
path: widgetkit/widgettexture
---

# WidgetTexture

Values that define the texture of the widget’s coating layer.

## Declaration

```swift
struct WidgetTexture
```

## Topics

### Textures

- [glass](widgetkit/widgettexture/glass.md)
- [paper](widgetkit/widgettexture/paper.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### visionOS widgets

- [Updating your widgets for visionOS](widgetkit/updating-your-widgets-for-visionos.md)
- [widgetTexture(_:)](swiftui/widgetconfiguration/widgettexture(_:).md)
- [supportedMountingStyles(_:)](swiftui/widgetconfiguration/supportedmountingstyles(_:).md)
- [WidgetMountingStyle](widgetkit/widgetmountingstyle.md)
- [LevelOfDetail](widgetkit/levelofdetail.md)
