Quantcast
Viewing all articles
Browse latest Browse all 40524

Is drawing with ofFbo more efficient than just drawing a single object?

If so, I'm planning to make my GUI objects to be drawn with ofFbo only and only re-write each GUI into the buffer whenever there's an update in GUI's property (i.e size, color..).

For example, if I create a button GUI, it will be drawn by ofFbo and only if I press the button so the color should be changed, it will be drawn with common object(ofCircle, ofRect) until re-writing the new one into the buffer gets done.

Could this be a good idea for getting the extra efficiency?


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>