libNeon
|
#include <any_fx.hpp>
Public Member Functions | |
any_fx ()=default | |
any_fx (any_fx &&other) noexcept | |
any_fx & | operator= (any_fx &&other) noexcept |
fx_type | type () const |
void | set_type (fx_type t) |
solid_fx const & | s_fx () const |
gradient_fx const & | g_fx () const |
matrix_fx const & | m_fx () const |
std::function< void(std::chrono::milliseconds)> | make_steady_timer_callback (transmittable_rgb_strip &strip, rmt_channel_t channel, blending_method method=blend_linear) const |
std::vector< rgb > | render_frame (transmittable_rgb_strip &strip, rmt_channel_t channel, std::chrono::milliseconds elapsed, std::vector< rgb > recycle_buffer={}, blending_method method=blend_linear) const |
Private Attributes | |
std::atomic< fx_type > | _type = fx_type::solid |
solid_fx | _s_fx {} |
gradient_fx | _g_fx {} |
matrix_fx | _m_fx {} |
Friends | |
class | any_fx_config |
|
default |
|
noexcept |
|
inline |
|
inline |
std::function< void(std::chrono::milliseconds)> neo::any_fx::make_steady_timer_callback | ( | transmittable_rgb_strip & | strip, |
rmt_channel_t | channel, | ||
blending_method | method = blend_linear |
||
) | const |
std::vector< rgb > neo::any_fx::render_frame | ( | transmittable_rgb_strip & | strip, |
rmt_channel_t | channel, | ||
std::chrono::milliseconds | elapsed, | ||
std::vector< rgb > | recycle_buffer = {} , |
||
blending_method | method = blend_linear |
||
) | const |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
private |
|
private |
|
private |