Coding particle filter class using framebuffer to store information about particles in the GPU