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

◆ ScaleUp()

fl::ScaleUp::ScaleUp ( const XYMap & xymap,
Fx2dPtr fx )

Construct a ScaleUp effect wrapper.

Parameters
xymapThe XYMap defining the low-resolution render target
fxThe delegate effect to render at lower resolution

Definition at line 34 of file scale_up.cpp.hpp.

34 : Fx2d(xymap), mDelegate(fx) {
35 // Turn off re-mapping of the delegate's XYMap, since bilinearExpand needs
36 // to work in screen coordinates. The final mapping will for this class will
37 // still be performed.
38 mDelegate->getXYMap().setRectangularGrid();
39}
XYMap xymap
Fx2d(const XYMap &xyMap)
Definition fx2d.h:19
Fx2dPtr mDelegate
The wrapped effect that renders at low resolution.
Definition scale_up.h:114

References fl::Fx2d::Fx2d(), mDelegate, and xymap.

+ Here is the call graph for this function: