TechnologiesAR & Spatial

_RealityKit_ComputeGraph cross-import overlay

iOSmacOStvOSwatchOSvisionOS

_RealityKit_ComputeGraph adds RealityKit components for Metal-accelerated compute graph simulations, driving GPU-based particle and mesh deformations as Entity children on iOS, macOS, tvOS, and visionOS. You attach a ComputeGraphComponent backed by a ComputeGraphResource to an entity, and read simulation results through ComputeGraphOutputComponent. Supporting types such as ComputeGraphRuntimeComponent, ComputeGraphViewpointComponent, ComputeGraphSharedUniforms, and ParameterHandle let you configure runtime behavior, viewpoint, and shared uniform parameters of the graph.

Essentials 2

The resource and component that attach a Metal-accelerated compute graph simulation to an entity.

  • Cl
    ComputeGraphResourceiOS 27.0+
    A loaded compute graph resource containing the graph definition, compiled
  • St
    ComputeGraphComponentiOS 27.0+
    A component that drives a compute graph–based particle simulation on an entity.

Simulation Output 1

The component through which you read results produced by a running compute graph.

  • St
    ComputeGraphOutputComponentiOS 27.0+
    A transient component that identifies the compute graph output associated with an entity.

Runtime and Viewpoint Configuration 2

Components that control runtime execution behavior and the viewpoint of a compute graph simulation.

  • St
    ComputeGraphRuntimeComponentiOS 27.0+
    Manages the live GPU simulation for an entity's ``ComputeGraphComponent_v1``.
  • St
    ComputeGraphViewpointComponentiOS 27.0+
    A transient component that provides camera viewpoint information to the particle simulation.

Shared Parameters 2

Types for configuring shared uniform values and addressing individual parameters of a graph.

  • Cl
    ComputeGraphSharedUniformsiOS 27.0+
    A transient component that stores typed uniform values shared across all ComputeGraph simulations.
  • St
    ParameterHandleiOS 27.0+
    A value that identifies and addresses an individual parameter of a compute graph.

Extends 1

ComputeNodeGraph
← AR & Spatial