init(resource:)
Creates a ComputeGraphComponent and immediately attaches the given resource.
Declaration
init(resource: ComputeGraphResource)Parameters
- resource:
The Computegraphresource that defines the simulation.
Creates a ComputeGraphComponent and immediately attaches the given resource.
init(resource: ComputeGraphResource)The Computegraphresource that defines the simulation.