bevy_enoki 0.7.0

2D Particle system plugin, that works well on wasm and mobile
1
2
3
4
5
6
7
8
9
#define_import_path bevy_enoki::particle_vertex_out

struct VertexOutput {
    @builtin(position) clip_position: vec4<f32>,
    @location(0) @interpolate(flat) color: vec4<f32>,
	@location(1) uv : vec2<f32>,
	@location(2) lifetime_frac : f32,
	@location(3) lifetime_total : f32,
};