<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/graph",
  "metadataVersion" : "0.1.0",
  "role" : "Namespace",
  "symbol" : {
    "kind" : "Namespace",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "graph"
  },
  "title" : "graph"
}
-->

# graph

A set of nodes usable in any stage within a ComputeGraph.

## Topics

### Functions

[`float graph::age()`](/documentation/ComputeGraph/graph/age)

Returns the age of the graph in seconds.

[`float graph::deltaTime()`](/documentation/ComputeGraph/graph/deltaTime)

Returns the time elapsed since the last frame.

[`float4x4 graph::localToWorld()`](/documentation/ComputeGraph/graph/localToWorld)

Returns the transformation matrix from local space to world space.

[`float4x4 graph::worldToLocal()`](/documentation/ComputeGraph/graph/worldToLocal)

Returns the transformation matrix from world space to local space.

---

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)