Skip to main content
Participating Frequently
December 11, 2025
Question

GPU resources storage and init.

  • December 11, 2025
  • 0 replies
  • 53 views

Hello,

 

I am building plugins that use gpu. Side note, on windows i am using dx12 (via cuda/CL for textures transfer). Can you carify/confirm my understanding please:

1/ Does AE sdk support dx12 ? (for now i am handling the dx resources).

2/ Is the PF_Cmd_GPU_DEVICE_SETUP call done when the plugin is first applied or is it called per plugin instance ?

3/ Probably related to the previous question: the gpu_data that is retrieved from 

PF_SmartRenderExtra is per instance or global to the plugin ?

4/ In case the previous answer were "global to the plugin", where is the best place to strore gpu resources per instance ? I can think of sequence data but, because the later might be created more than once per plugin instance, it is not practical.

5/ Finally, if i want to use gpu in the ui thread (processing arb, for example), how can i make sure that gpu has been setup (we dont get the gpu setup call during ui thread) and where to store the gpu resources to make them accessible during ui thread ?

 

thank you !