Name

kOfxImageEffectPropRenderQualityDraft — Indicates whether an effect can take quality shortcuts to improve speed.

Synopsis

#include "/ofxImageEffect.h"
#define kOfxImageEffectPropRenderQualityDraft "OfxImageEffectPropRenderQualityDraft"

Type

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

Property Set

This is a property that belongs to the render calls, host (read-only).

Default

The default value is 0 - 0: Best Quality (1: Draft).

Valid Values

This must be one of 0 or 1

Description

Indicates whether an effect can take quality shortcuts to improve speed.

This property indicates that the host provides the plug-in the option to render in Draft/Preview mode. This is useful for applications that must support fast scrubbing. These allow a plug-in to take short-cuts for improved performance when the situation allows and it makes sense, for example to generate thumbnails with effects applied. For example switch to a cheaper interpolation type or rendering mode. A plugin should expect frames rendered in this manner that will not be stucked in host cache unless the cache is only used in the same draft situations. If an host does not support that property a value of 0 is assumed. Also note that some hosts do implement kOfxImageEffectPropRenderScale - these two properties can be used independently.