---
title: ClothSimulationComponent.Solver
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothsimulationcomponent/solver-swift.struct
---

# ClothSimulationComponent.Solver

The permanent solver configuration of a cloth simulation.

## Declaration

```swift
struct Solver
```

## Overview

Overview The solver used for a simulation affects the quality, performance and power cost of the simulation.

## Topics

### Creating a solver

- [gaussSeidel(iterationCount:)](realitykit/clothsimulationcomponent/solver-swift.struct/gaussseidel(iterationcount:).md)
- [jacobi(iterationCount:)](realitykit/clothsimulationcomponent/solver-swift.struct/jacobi(iterationcount:).md)

## Relationships

### Conforms To

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

## See Also

### Configuring the solver

- [solver](realitykit/clothsimulationcomponent/solver-swift.property.md)
