<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/MeshDeformParameter",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation19MeshDeformParameterV"
  },
  "title" : "MeshDeformParameter"
}
-->

# MeshDeformParameter

Base class for GPU and CPU custom deform function input

```
struct MeshDeformParameter<InputBuffer, OutputBuffer>
```

## Topics

### Accessing deformation buffers

[`var inputBuffers: MeshDeformParameter<InputBuffer, OutputBuffer>.VertexBuffers<InputBuffer>`](/documentation/RealityKit/MeshDeformParameter/inputBuffers)

The specified input vertex data for the deformer function.

[`var outputBuffers: MeshDeformParameter<InputBuffer, OutputBuffer>.VertexBuffers<OutputBuffer>`](/documentation/RealityKit/MeshDeformParameter/outputBuffers)

The specified output vertex data for the deformer function.

[`struct VertexBuffers`](/documentation/RealityKit/MeshDeformParameter/VertexBuffers)

The vertices requested by the developer when they defined their custom deformations.
These will be passed into their custom deformation functions.



---

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)