natiny_particles_set_blend

C
void natiny_particles_set_blend(NatinyParticles particles, uint32_t blend);

Sets whether particles drawn with the default material cover what is behind them or add light to it.

Parameters

Name Type Description
particles NatinyParticles Particle system handle from natiny_particles_create
blend uint32_t NATINY_BLEND_ALPHA or NATINY_BLEND_ADD

Example

C
natiny_particles_set_blend(fire, NATINY_BLEND_ADD);