may be this is trivial but I can’t figure it out. I want to set a specific blendmode to draw a few things and then go back to the previous one, whatever it was.
Is there a way to get the current blendmode, to be able then to set it back? Renderers have a setBlendMode() method but not a get.
may be too late for your project:
const ofBlendMode mode = ofGetCurrentRenderer()->getStyle().blendingMode;
since this belongs to Style(), you can just push the style
//const ofBlendMode mode = ofGetCurrentRenderer()->getStyle().blendingMode;
the previous style will then be restored after ofPopStyle()