_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.
- ClComputeGraphResourceiOS 27.0+A loaded compute graph resource containing the graph definition, compiled
- StComputeGraphComponentiOS 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.
- StComputeGraphOutputComponentiOS 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.
- StComputeGraphRuntimeComponentiOS 27.0+Manages the live GPU simulation for an entity's ``ComputeGraphComponent_v1``.
- StComputeGraphViewpointComponentiOS 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.
- ClComputeGraphSharedUniformsiOS 27.0+A transient component that stores typed uniform values shared across all ComputeGraph simulations.
- StParameterHandleiOS 27.0+A value that identifies and addresses an individual parameter of a compute graph.