MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ evolve

Evolve MayaFlux::Creator::evolve

Sets a system going from a config: state that persists, a rule that advances it every cycle, and rendering attached.

Overloaded on the config it is given: RelaxationGridBuffer::GridConfig (optionally with a seed callable), VolumeGridBuffer::FlowConfig over a volume, or SpatialFieldConfig over a field-compatible network. Each call performs the whole sequence and returns the real object, which then advances on its own each cycle. The call sets it going and does not step it. Every call requires RenderConfig::target_window.

auto life = vega.evolve(grid_config, seed, { .target_window = window });
auto smoke = vega.evolve(volume, flow_config, { .target_window = window });
std::weak_ptr< Core::Window > window
Definition Picker.cpp:23
Evolve evolve
Sets a system going from a config: state that persists, a rule that advances it every cycle,...
Definition Creator.hpp:133
Creator vega
Global Creator instance.
Definition Creator.cpp:28
See also
Evolve

Definition at line 133 of file Creator.hpp.