Skip to content

Commit 73ad562

Browse files
committed
add kOfxImageEffectPropUniqueIdentifier
Signed-off-by: Greg Cotten <[email protected]>
1 parent 158c8b6 commit 73ad562

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

include/ofxImageEffect.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,19 @@ This value will be the same for all instances of a plugin.
589589
*/
590590
#define kOfxImageEffectPropPluginHandle "OfxImageEffectPropPluginHandle"
591591

592+
/** @brief Uniquely identifies a plugin.
593+
594+
- Type - ASCII string X 1
595+
- Property Set - plugin instance (read only)
596+
597+
This is host set and allows a plug-in to differentiate between instances of itself.
598+
599+
This can be useful for seeding a random number generator without requiring end user intervention.
600+
601+
The host should make sure that this value is peristent across sessions and that the value is truly unique.
602+
*/
603+
#define kOfxImageEffectPropUniqueIdentifier "OfxImageEffectPropUniqueIdentifier"
604+
592605
/** @brief Indicates if a host is a background render.
593606
594607
- Type - int X 1

0 commit comments

Comments
 (0)