mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add PrecipitationRenderer (WIP)
This commit is contained in:
parent
fd59aa4f65
commit
b4456fdb51
10 changed files with 203 additions and 28 deletions
|
|
@ -40,12 +40,6 @@ public:
|
|||
|
||||
u64id_t add(std::unique_ptr<Emitter> emitter);
|
||||
|
||||
/// @brief Perform garbage collection (remove extra dead emitters).
|
||||
/// @note Emitters are deleting without GC when there's no particles with same
|
||||
/// texture left.
|
||||
/// @note Currently unused
|
||||
void gc();
|
||||
|
||||
/// @brief Get emitter by UID
|
||||
/// @return Emitter or nullptr
|
||||
Emitter* getEmitter(u64id_t id) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue