FastLED 3.10.6
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 305 of file wave.h.

305 {
306 // Set whether to use the change grid tracking optimization.
307 mWaveSim.setUseChangeGrid(enabled);
308 }
WaveSimulation2D mWaveSim
Definition wave.h:416

References mWaveSim.

Referenced by WaveFx().

+ Here is the caller graph for this function: