FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Frame Class Reference

Detailed Description

Definition at line 18 of file frame.h.

#include <frame.h>

+ Inheritance diagram for fl::Frame:
+ Collaboration diagram for fl::Frame:

Public Member Functions

 Frame (int pixels_per_frame)
 
 ~Frame () override
 
void copy (const Frame &other)
 
void draw (CRGB *leds) const
 
void interpolate (const Frame &frame1, const Frame &frame2, uint8_t amountOfFrame2)
 
CRGBrgb ()
 
const CRGBrgb () const
 
size_t size () const
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Static Public Member Functions

static void interpolate (const Frame &frame1, const Frame &frame2, uint8_t amountofFrame2, CRGB *pixels)
 

Private Attributes

const size_t mPixelsCount
 
fl::scoped_array< CRGBmRgb
 

Additional Inherited Members

- Protected Member Functions inherited from fl::Referent
 Referent ()
 
 Referent (const Referent &)
 
 Referent (Referent &&)
 
virtual ~Referent ()
 
virtual void destroy ()
 
Referentoperator= (const Referent &)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 

The documentation for this class was generated from the following files: