Difference between ofBackground() and ofClear()?

Hi, I wonder if there’s any difference between calling ofBackground() and ofClear().
I think they work in the same way. Is there any difference?

I am curious about this too :slight_smile:

A quick peek in the source shows no big differences between the two, anyway as far as I can see it depends on the renderer. I wonder why we have two similar functions… now that you make me think about it I always used one or the other more or less randomly, the result is the same. Let’s see what the truth is!


1 Like

Could you please explain to us if there’s any difference? @arturo