Copy link to clipboard
Copied
Hi,
I’m developing a plugin for After Effects and noticed that my plugin receives two render commands for a single frame. I suspect one is for preview and the other for final output.
I don't want to apply my effect twice for a single frame, as it utilizes deep learning model, which has significant latency. Even though I read through the SDK document, I couldn't find relevant options.
•How can I detect if the current render command is specifically for preview?
•Is there a specific flag or selector in the PF_InData structure to differentiate between preview and full-quality rendering?
Any code snippets or pointers to relevant documentation sections would be greatly appreciated.
Thanks!
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now