Skip to content

Commit c659857

Browse files
gregcottengaryo
authored andcommitted
add OfxImageEffectPropNoSpatialAwareness
Signed-off-by: Greg Cotten <[email protected]>
1 parent 80a1ade commit c659857

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

include/ofxImageEffect.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ These are the list of actions passed to an image effect plugin's main function.
407407
- \ref kOfxImageEffectPropSequentialRenderStatus whether the effect is currently being rendered in strict frame order on a single instance
408408
- \ref kOfxImageEffectPropInteractiveRenderStatus if the render is in response to a user modifying the effect in an interactive session
409409
- \ref kOfxImageEffectPropRenderQualityDraft if the render should be done in draft mode (e.g. for faster scrubbing)
410+
- \ref kOfxImageEffectPropNoSpatialAwareness if the plugin must render without spatial awareness (e.g. for LUT generation)
410411
411412
@param outArgs is redundant and should be set to NULL
412413
@@ -1173,6 +1174,19 @@ Also note that some hosts do implement kOfxImageEffectPropRenderScale - these tw
11731174
*/
11741175
#define kOfxImageEffectPropRenderQualityDraft "OfxImageEffectPropRenderQualityDraft"
11751176

1177+
/** @brief Indicates that the plugin can render without spatial awareness, either inherently or by
1178+
disabling certain parameters at render time. If the plugin descriptor has this prop set to "true", the
1179+
plugin is expected to disable spatial effects when the host sets this prop to "true" in the render call arguments.
1180+
1181+
- Type - string X 1
1182+
- Property Set - plugin descriptor (read/write), render calls - host (read-only)
1183+
- Default - "false"
1184+
- Valid Values - This must be one of
1185+
- "false" - the plugin cannot render without spatial awareness and the host will bypass it for renders that require no spatial awareness.
1186+
- "true" - the plugin can render without spatial awareness, and the host will indicate this type of render by setting kOfxImageEffectPropNoSpatialAwareness to "true" in the render call.
1187+
*/
1188+
#define kOfxImageEffectPropNoSpatialAwareness "OfxImageEffectPropNoSpatialAwareness"
1189+
11761190
/** @brief The extent of the current project in canonical coordinates.
11771191
11781192
- Type - double X 2

0 commit comments

Comments
 (0)