d-gamedev-team/gfm

FBO has no ability to change usage

drug007 opened this issue · 2 comments

I implemented simple 3D picking example and I was forced to add this ability to gfm. The question is API to do it. Isn't mode more appropriate than usage here?

p0nce commented

Mode is indeed a better name than Usage.

However how about creating another FBO in READ mode and binding the same buffer to it?

Why another FBO if the first works very well? See PR. But may you're right, FBO creating is cheap operation IIRC...