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

◆ init()

void fl::init ( Context & ctx,
int w,
int h )
inline

Definition at line 133 of file engine.h.

133 {
134 if (!ctx.mEngine) {
136 }
137 ctx.num_x = w;
138 ctx.num_y = h;
139 ctx.mEngine->init(w, h);
140}
fl::enable_if<!fl::is_array< T >::value, unique_ptr< T > >::type make_unique(Args &&... args) FL_NOEXCEPT
Definition unique_ptr.h:261
fl::unique_ptr< Engine > mEngine
Definition context.h:38
int num_y
Definition context.h:27
int num_x
Definition context.h:26

References init().

Referenced by fl::deque< int >::deque(), fl::FixedVector< fl::u32, kMaxBatchSize >::FixedVector(), fl::list< T >::list(), fl::MapRedBlackTree< Key, T, Compare, fl::allocator_slab< char > >< Key, T, Compare >::MapRedBlackTree(), fl::MultiMapTree< Key, T, Compare, fl::allocator_slab< char > >::MultiMapTree(), fl::MultiSetTree< Key, Compare, fl::allocator_slab< char > >::MultiSetTree(), fl::set< T, fl::allocator_inlined_slab< T, N > >::set(), fl::span< T, dynamic_extent >::span(), fl::vector< fl::i16 >::vector(), fl::vector_psram< T >::vector_psram(), fl::VectorN< T, INLINED_SIZE >::VectorN(), fl::Animartrix::draw(), init(), fl::iterator<, u8 >::insert(), fl::iterator<, u8 >::operator=(), fl::set< T, fl::allocator_inlined_slab< T, N > >::operator=(), and fl::iterator<, u8 >::unordered_map().

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