FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setUseChangeGrid()

void fl::WaveFx::setUseChangeGrid ( bool enabled)
inline

Enable/disable change grid tracking optimization.

Parameters
enabledIf true, uses change tracking to optimize updates

Change grid tracking preserves set points over multiple iterations for more stable results, but may reduce dramatic visual effects. Disabling saves memory but may cause more oscillation.

Definition at line 276 of file wave.h.

276 {
277 // Set whether to use the change grid tracking optimization.
278 mWaveSim.setUseChangeGrid(enabled);
279 }
WaveSimulation2D mWaveSim
Definition wave.h:376

References mWaveSim.

Referenced by WaveFx().

+ Here is the caller graph for this function: