Will glClear() act on all objects that have been drawn to the buffer using drawing functions native to SFML as well as those drawn using openGL functions? Or is it only the latter?
My guess is both because, at its core, SFML is an tool through which one can interact with OpenGL, among other interfaces. I suppose if the latter is the case, then SFML and OpenGL functions draw to separate buffers before display. How exactly do things work under the hood?
Also, if I call window::clear(), does this clear everything I have drawn with OpenGL as well? I imagine the answer to this question is based on the answer to the first.