The Render Action

	#include "ofxImageEffect.h"
	#define kOfxImageEffectActionRender                "OfxImageEffectActionRender"
Arguments

Description

This action is where an effect gets to push pixels and turn its input clips and parameter set into an output image. This is possibly quite complicated and covered in the Rendering Image Effects chapter.

Preconditions

  • kOfxActionCreateInstance has been called on the instance
  • kOfxImageEffectActionBeginSequenceRender has been called on the instance

Postconditions

  • kOfxImageEffectActionEndSequenceRender action will be called on the instance

Return Values

  • kOfxStatOK, the effect rendered happily
  • kOfxStatErrMemory, in which case the action may be called again after a memory purge
  • kOfxStatFailed, something wrong, but no error code appropriate, plugin to post message
  • kOfxStatErrFatal

Default Action

The render action must be trapped by the plug-in, it cannot return kOfxStatReplyDefault. The pixels needs be pushed I'm afraid.