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

Drop mode policy: remove only "orphan" particles A particle can only be dropped if there is no other particle directly below it (z-axis). More...

#include <fadeout.hpp>

Static Public Member Functions

template<typename ContextType , uint8_t MaskBuffId, uint8_t minMaskValue>
static bool has_pixel_below (ContextType &ctx, uint16_t x, int16_t y)
 Check if a pixel at (x, y) has a pixel below it.
 
template<typename ContextType , uint8_t MaskBuffId, uint8_t minMaskValue>
static bool depop_one (ContextType &ctx, uint32_t &pixelId)
 

Detailed Description

Drop mode policy: remove only "orphan" particles A particle can only be dropped if there is no other particle directly below it (z-axis).


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