Draw into Texture

Hi all,

I need to effectively draw into a texture realtime i.e. fast :slight_smile:
I have read and searched on the various methods and set pixel etc. seems to be too slow.
The reason (as I understand it) is that this locks the texture as it’s being altered and therefore causes a GPU stall.
As a work around could I not have the written to texture double buffered?, i.e. while altering one drawing the other and then simply swap to avoid the stall.
Essentially I wish an iPhone app where the player can ‘draw’ onto a texture.
Any comments/help appreciated

thanks

for double buffering, couldnt you just draw two places in the same texture and then by script manipulate the UV-coords for the surface?