The Draw Action

	#include "ofxCore.h"
	#define kOfxInteractActionDraw "OfxInteractActionDraw"


This action is issued to an interact whenever the host needs the plugin to redraw the given interact. The interact should issue any openGL calls it needs at this point.

Note that the interact may (in the case of custom parameter GUIS) or may not (in the case of image effect overlays) be required to swap buffers, that is up to the kind of interact.


  • kOfxActionCreateInstance has been called on the instance handle,
  • the openGL context for this interact has been set
  • the projection matrix will correspond to the interact's cannonical voew

Return Values