Author Topic: D2D12 in GeeXLab?  (Read 409 times)

0 Members and 1 Guest are viewing this topic.

Noraxa

  • Zombie
  • *
  • Posts: 1
    • View Profile
D2D12 in GeeXLab?
« on: August 08, 2019, 04:53:16 PM »
I'm new to this forum, but I was wondering if there was a way to make a GeeXLab plugin for Direct2D (d2d1.dll)? Any advice would be appreciated. I realize that it would need to be tied into the scripting API as well, but I'm not sure how I would do that without the source.
Thanks in advance.


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2038
    • View Profile
    • Geeks3D.com
Re: D2D12 in GeeXLab?
« Reply #1 on: August 12, 2019, 02:20:30 PM »
I never used Direct2D. But GeeXLab supports some kind of user plugins. See this topic for more information. I see one issue with the current user plugin interface and D2D: the frame function (gh_utils.dylib_frame). This function is called by GeeXLab in the FRAME script and I think that the output of D2D won't be displayed because it will be erased at the end of the FRAME script. Maybe I should add an additional POST_FRAME script and a gh_utils.dylib_post_frame() function to solve this potential problem.