---
title: "makeDeformation(pipeline:descriptor:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/lowleveldeformationcontext/makedeformation(pipeline:descriptor:)"
---

# makeDeformation(pipeline:descriptor:)

Creates a deformation bound to a compiled pipeline.

## Declaration

```swift
final func makeDeformation(pipeline: LowLevelDeformation.Pipeline, descriptor: LowLevelDeformation.Descriptor) throws -> LowLevelDeformation
```

## Parameters

- `pipeline`: The compiled pipeline to bind the deformation to.
- `descriptor`: An object that describes the per-frame data requirements.

## Discussion

Discussion The pipeline must originate from this context. note: If the pipeline belongs to a different context, or if the descriptor is invalid.

## See Also

### Creating deformation pipelines

- [makePipeline(desc:)](realitykit/lowleveldeformationcontext/makepipeline(desc:)-9riyx.md)
- [makePipeline(desc:)](realitykit/lowleveldeformationcontext/makepipeline(desc:)-4ybrk.md)
