Skip to content

Commit 8fae029

Browse files
committed
add kOfxImageClipPropUniqueIdentifier
Signed-off-by: Greg Cotten <[email protected]>
1 parent 73ad562 commit 8fae029

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

include/ofxImageEffect.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,21 @@ The default for a clip descriptor is to have none set, the plugin \em must defin
10331033
*/
10341034
#define kOfxImageEffectPropSupportedComponents "OfxImageEffectPropSupportedComponents"
10351035

1036+
/** @brief Uniquely identifies a clip.
1037+
1038+
- Type - ASCII string X 1
1039+
- Property Set - clip instance (read only)
1040+
1041+
This is host set and allows a plug-in to differentiate between clips and respond to those changes. This value should be
1042+
consistent across plugins. This can be useful for seeding a random number generator unique at the clip level.
1043+
1044+
The host should change this value when the underlying source for the clip changes or anytime the end user might perceive
1045+
the clip as being different or new.
1046+
1047+
The host should make sure that this value is peristent across sessions and that the value is truly unique.
1048+
*/
1049+
#define kOfxImageClipPropUniqueIdentifier "OfxImageClipPropUniqueIdentifier"
1050+
10361051
/** @brief Indicates if a clip is optional.
10371052
10381053
- Type - int X 1

0 commit comments

Comments
 (0)