---
title: Shader.UsageType
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/shader/usagetype
---

# Shader.UsageType

The different ways in which a Shader may be used to render.

## Declaration

```swift
struct UsageType
```

## Topics

### Type Properties

- [colorEffect](swiftui/shader/usagetype/coloreffect.md)
- [distortionEffect](swiftui/shader/usagetype/distortioneffect.md)
- [layerEffect](swiftui/shader/usagetype/layereffect.md)
- [shapeStyle](swiftui/shader/usagetype/shapestyle.md)

## Relationships

### Conforms To

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