View Single Post
Old 03-01-2017, 09:19 AM   #18
gstuff
Human being with feelings
 
Join Date: Feb 2014
Posts: 63
Default

Quote:
Originally Posted by Nowhk View Post
Of course, but how would my Filter know about integer index (for the current instance) if I don't pass to it?
Because in the constructor of your plugin class you increment a static member variable and save the value in a member variable. So each instance gets a unique index number based on total number of instances. I use a similar approach in my Auto Time adjuster plugin.

Last edited by gstuff; 03-01-2017 at 09:27 AM.
gstuff is offline   Reply With Quote