PDA

View Full Version : How to clear texture buffer



Sergey Nenakhov
11-21-2011, 01:40 PM
Hi,
Is it possible to clear to 0 a vertex buffer, which is used as a source/target for image load store operations in the shaders?

Thanks

BionicBytes
11-21-2011, 01:46 PM
You could use transform feedback to set the value.
Or the old fashed way of uploading data to the buffer object.