I am trying to use the pause/resume API on my NVIDIA Quadro FX 5800 card. I am using ARB_transform_feedback2. In my code I toggle the pause/resume tf calls using the ‘p’ key and to only call the pause/resume tf functions once I wrap the calls inside an if check. The code is as follows,
Thanks for the reply. I am doing a simulation using TF and each frame I need to do beginTF/endTF following which I give a call to render my geometry. In this case how do i setup the pause/resume TF? The way u r saying, this will only do a single tf step.
So do u mean that pause/resume is useful only when I want to append to an existing TF? So if that’s the case, i dont thing pause/resume is a feasible thing for me. I’d rather just return from the physics calc. function in case pause is enabled. I wanted to know why pause/resume tf is given.