Delay with grabber.getPixels()

Hi

I’m trying to make a simple video delay with grabber.getPixels() in iOS

How can I store separate frames in a vector and recall them later with texture.loadData ?

Thanks in advance

Pmar