---
title: MeshDeformationStack
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/meshdeformationstack
---

# MeshDeformationStack

A set of MeshDeformers to apply in order to a mesh, or a proper subset of the mesh specified by Targets. If at any point, a deformer in the stack updates, all deformers later in the stack will also update.

## Declaration

```swift
struct MeshDeformationStack
```

## Topics

### Creating a deformation stack

- [init(deformers:targets:)](realitykit/meshdeformationstack/init(deformers:targets:).md)

### Configuring deformation

- [deformers](realitykit/meshdeformationstack/deformers.md)
- [targets](realitykit/meshdeformationstack/targets.md)

### Comparing stacks

- [==(_:_:)](realitykit/meshdeformationstack/==(_:_:).md)

### Initializers

- [init()](realitykit/meshdeformationstack/init().md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Parameters and options

- [MeshDeformerOptions](realitykit/meshdeformeroptions.md)
- [MeshDeformerVertexOptions](realitykit/meshdeformervertexoptions.md)
- [MeshDeformerExecutionMode](realitykit/meshdeformerexecutionmode.md)
- [MeshDeformParameter](realitykit/meshdeformparameter.md)
- [MeshScope](realitykit/meshscope.md)
- [MeshDeformParameterCPU](realitykit/meshdeformparametercpu.md)
- [MeshDeformParameterGPU](realitykit/meshdeformparametergpu.md)
- [MeshDeformParametersCPU](realitykit/meshdeformparameterscpu.md)
- [MeshDeformParametersGPU](realitykit/meshdeformparametersgpu.md)
- [MeshDeformCPUBufferInput](realitykit/meshdeformcpubufferinput.md)
- [MeshDeformGPUBufferInput](realitykit/meshdeformgpubufferinput.md)
- [MeshDeformCPUBufferOutput](realitykit/meshdeformcpubufferoutput.md)
- [MeshDeformGPUBufferOutput](realitykit/meshdeformgpubufferoutput.md)
