Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
lampda::modes::anims::fadeout::DropModeLineByLine Struct Reference

Drop mode policy: remove particles line by line from bottom to top Only pixels from the lowest non-empty line can be dropped. More...

#include <fadeout.hpp>

Static Public Member Functions

template<typename ContextType , uint8_t MaskBuffId, uint8_t minMaskValue>
static bool depop_one (ContextType &ctx, uint32_t &pixelId)
 Find and depop one particle according to this mode.
 

Detailed Description

Drop mode policy: remove particles line by line from bottom to top Only pixels from the lowest non-empty line can be dropped.

Drop policies: choose the drop mode

Member Function Documentation

◆ depop_one()

template<typename ContextType , uint8_t MaskBuffId, uint8_t minMaskValue>
static bool lampda::modes::anims::fadeout::DropModeLineByLine::depop_one ( ContextType &  ctx,
uint32_t &  pixelId 
)
inlinestatic

Find and depop one particle according to this mode.

Returns
true if a particle was successfully depopped, false otherwise

The documentation for this struct was generated from the following file: