Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: Noraxa on August 08, 2019, 04:53:16 PM

Title: D2D12 in GeeXLab?
Post by: Noraxa 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.
Title: Re: D2D12 in GeeXLab?
Post by: JeGX on August 12, 2019, 02:20:30 PM
I never used Direct2D. But GeeXLab supports some kind of user plugins. See this topic (https://www.geeks3d.com/forums/index.php?topic=3641.0) 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.