Original Post
what's the best/fastest way to update a texture? Ok I think I need to be more precise :D I've a texture 1024x1024 (the format it's not important. assume it's rgb16 or simply r16f, it doesn't matter) that contains some data i need to read in a pixel shader. About every frame (actually it's about every ten frames) I need to update an L-shaped portion on the border of the texture (size and offset are already known), something like this:
Basically I need to "shift" the image on the other side, freeing space for other data. The question now is: do i need to clear the texture and recreate it or there's a simpler way?
Basically I need to "shift" the image on the other side, freeing space for other data. The question now is: do i need to clear the texture and recreate it or there's a simpler way?