<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "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" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/ComputeGraphSimulation/AdvanceParams/init(deltaTime:commandBuffer:computeEncoder:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph0aB10SimulationC13AdvanceParamsV9deltaTime13commandBuffer14computeEncoderAESf_So010MTLCommandI0_pSo017MTLComputeCommandK0_ptcfc"
  },
  "title" : "init(deltaTime:commandBuffer:computeEncoder:)"
}
-->

# init(deltaTime:commandBuffer:computeEncoder:)

Creates advance parameters with the required Metal objects.

```
init(deltaTime: Float, commandBuffer: any MTLCommandBuffer, computeEncoder: any MTLComputeCommandEncoder)
```

## Parameters

`deltaTime`

The time interval, in seconds, to advance the simulation.

`commandBuffer`

The command buffer to encode simulation commands into.

`computeEncoder`

The compute command encoder to use.

---

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)