FastLED 3.10.8
Loading...
Searching...
No Matches

◆ getOrCreateInputSurface()

fl::shared_ptr< fl::Grid< CRGB > > & fl::Corkscrew::getOrCreateInputSurface ( )

Definition at line 473 of file corkscrew.cpp.hpp.

473 {
474 if (!mInputSurface) {
475 // Create a new Grid with cylinder dimensions using PSRAM allocation
477 }
478 return mInputSurface;
479}
fl::u16 mWidth
Definition corkscrew.h:228
fl::u16 mHeight
Definition corkscrew.h:229
fl::shared_ptr< fl::Grid< CRGB > > mInputSurface
Definition corkscrew.h:236
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
Definition shared_ptr.h:423

References fl::FL_NO_EXCEPT, fl::adl_barrier::make_shared(), mHeight, mInputSurface, and mWidth.

Referenced by data(), draw(), fillInputSurface(), rawData(), readFrom(), readFromMulti(), and surface().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: