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

◆ getOrCreateInputSurface()

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

Definition at line 473 of file corkscrew.cpp.

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:235
fl::u16 mHeight
Definition corkscrew.h:236
fl::shared_ptr< fl::Grid< CRGB > > mInputSurface
Definition corkscrew.h:243
shared_ptr< T > make_shared(Args &&... args)
Definition shared_ptr.h:348

References fl::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: