<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelDeformationContext",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:22RealityCoreDeformation08LowLevelC7ContextC"
  },
  "title" : "LowLevelDeformationContext"
}
-->

# LowLevelDeformationContext

An object that manages shared resources for [`LowLevelDeformation`](/documentation/RealityKit/LowLevelDeformation) instances.

```
final class LowLevelDeformationContext
```

## Topics

### Creating deformation pipelines

[`func makeDeformation(pipeline: LowLevelDeformation.Pipeline, descriptor: LowLevelDeformation.Descriptor) throws -> LowLevelDeformation`](/documentation/RealityKit/LowLevelDeformationContext/makeDeformation(pipeline:descriptor:))

Creates a deformation bound to a compiled pipeline.

### Accessing the device

[`let device: any MTLDevice`](/documentation/RealityKit/LowLevelDeformationContext/device)

The Metal device this context targets.

### Initializers

[`init(any MTLDevice) throws`](/documentation/RealityKit/LowLevelDeformationContext/init(_:))

Creates a context targeting the specified Metal device.

### Instance Methods

[`func makePipeline(_:)`](/documentation/RealityKit/LowLevelDeformationContext/makePipeline(_:))

Creates a compute pipeline synchronously.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)