Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Pass variable from frameSetup to render

Participant ,
Feb 18, 2017 Feb 18, 2017

I’d like to send some values from frameSetup to render, so I created a refcon in EntryPointFunc and passed it to frameSetup and render functions.

I modify the refcon values in frameSetup, though for some reason the values go back to default by the time the render function receives it.

This may be a totally incorrect way of doing things and if so, could someone please tell me the right way to send a value from frameSetup to render? I could use a global variable but I assume that would be heresy.

TOPICS
SDK
455
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Feb 19, 2017 Feb 19, 2017

Hi!

the easiest is to store it into sequence data. Sequence data is unique for each instance of the effect, and you shouldn't get any trouble with UI thread as you want to call it from FrameSetup and Render.

Hope it helps,

François

Translate
Enthusiast ,
Feb 19, 2017 Feb 19, 2017

Hi!

the easiest is to store it into sequence data. Sequence data is unique for each instance of the effect, and you shouldn't get any trouble with UI thread as you want to call it from FrameSetup and Render.

Hope it helps,

François

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 22, 2017 Feb 22, 2017
LATEST

Ah thanks Francois, I remember gamma table doing this! I'll give it a crack.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines