---
title: MTLLoadAction
framework: metal
role: symbol
role_heading: Enumeration
path: metal/mtlloadaction
---

# MTLLoadAction

Types of actions performed for an attachment at the start of a rendering pass.

## Declaration

```swift
enum MTLLoadAction
```

## Mentioned in

Setting load and store actions

## Topics

### Load actions

- [MTLLoadAction.dontCare](metal/mtlloadaction/dontcare.md)
- [MTLLoadAction.load](metal/mtlloadaction/load.md)
- [MTLLoadAction.clear](metal/mtlloadaction/clear.md)

### Initializers

- [init(rawValue:)](metal/mtlloadaction/init(rawvalue:).md)

## Relationships

### Conforms To

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

## See Also

### Encoding a render pass in parallel

- [MTLParallelRenderCommandEncoder](metal/mtlparallelrendercommandencoder.md)
- [MTLStoreAction](metal/mtlstoreaction.md)
- [MTLStoreActionOptions](metal/mtlstoreactionoptions.md)
