FastLED 3.9.7
Loading...
Searching...
No Matches
FrameBufferBase Class Reference

Detailed Description

Definition at line 8 of file framebuffer.h.

+ Inheritance diagram for FrameBufferBase:

Public Member Functions

 FrameBufferBase (Color3i *array, int n_pixels)
 
void Set (int i, const Color3i &c)
 
void Set (int i, int length, const Color3i &color)
 
void FillColor (const Color3i &color)
 
void ApplyBlendSubtract (const Color3i &color)
 
void ApplyBlendAdd (const Color3i &color)
 
void ApplyBlendMultiply (const Color3i &color)
 
Color3iGetIterator (int i)
 
int length () const
 

Protected Attributes

Color3icolor_array_
 
int n_color_array_
 

Constructor & Destructor Documentation

◆ FrameBufferBase()

FrameBufferBase::FrameBufferBase ( Color3i * array,
int n_pixels )

Definition at line 10 of file framebuffer.cpp.

◆ ~FrameBufferBase()

FrameBufferBase::~FrameBufferBase ( )
virtual

Definition at line 13 of file framebuffer.cpp.

Member Function Documentation

◆ ApplyBlendAdd()

void FrameBufferBase::ApplyBlendAdd ( const Color3i & color)

Definition at line 33 of file framebuffer.cpp.

◆ ApplyBlendMultiply()

void FrameBufferBase::ApplyBlendMultiply ( const Color3i & color)

Definition at line 38 of file framebuffer.cpp.

◆ ApplyBlendSubtract()

void FrameBufferBase::ApplyBlendSubtract ( const Color3i & color)

Definition at line 28 of file framebuffer.cpp.

◆ FillColor()

void FrameBufferBase::FillColor ( const Color3i & color)

Definition at line 23 of file framebuffer.cpp.

◆ GetIterator()

Color3i * FrameBufferBase::GetIterator ( int i)

Definition at line 43 of file framebuffer.cpp.

◆ length()

int FrameBufferBase::length ( ) const

Definition at line 47 of file framebuffer.cpp.

◆ Set() [1/2]

void FrameBufferBase::Set ( int i,
const Color3i & c )

Definition at line 15 of file framebuffer.cpp.

◆ Set() [2/2]

void FrameBufferBase::Set ( int i,
int length,
const Color3i & color )

Definition at line 18 of file framebuffer.cpp.

Member Data Documentation

◆ color_array_

Color3i* FrameBufferBase::color_array_
protected

Definition at line 25 of file framebuffer.h.

◆ n_color_array_

int FrameBufferBase::n_color_array_
protected

Definition at line 26 of file framebuffer.h.


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