Name

kOfxImageEffectPropOpenGLEnabled — Indicates that an image effect SHOULD use OpenGL acceleration in

Synopsis

#include "/ofxOpenGLRender.h"
#define kOfxImageEffectPropOpenGLEnabled "OfxImageEffectPropOpenGLEnabled"

Type

kOfxImageEffectPropOpenGLEnabled is of type int, and has only a single dimension.

Property Set

This is a property that belongs to the inArgs property set of the following actions... .

Description

Indicates that an image effect SHOULD use OpenGL acceleration in the current action

When a plugin and host have established they can both use OpenGL renders then when this property has been set the host expects the plugin to render its result into the buffer it has setup before calling the render. The plugin can then also safely use the 'OfxImageEffectOpenGLRenderSuite'

and may use the OpenGL suite functions.

\note Once this property is set, the host and plug-in have agreed to use OpenGL, so the effect SHOULD access all its images through the OpenGL suite.