particle_sprite_frag.wgsl
Bindings
texture
#@group(1)
@binding(0)
var
texture:
texture_2d<f32>
texture_sampler
#frame_data
#Functions
fragment
#
@fragment
Calculates the final color of each pixel on the screen