Open GeorgeS2019 opened 5 months ago
@ZerxZ
Just curious, how this PR will improve performance or address any of the issues discussed above
@ZerxZ
Just curious, how this PR will improve performance or address any of the issues discussed above
Please try to restrict the discussion to their corresponding issue, thank you.
Reference 2 and 3 (ClassDB-based APIs) are what we are using currently, there is performance improvement we can make based on that.
Reference 4 provides the best performance and integration, but yes, that requires implementing it in the Engine.
Feedback
It is amazing that the wrapper codes generated WORKS! However, the performance needs to be addressed based on previous feedback from others.
I could be wrong. Hopefully we all learn together.
Reference1
==> Addressed here
==> here we are not generating unsafe code
Reference2
Reference3
the situation is similar to interop with GDScript, where you would also rely on GodotObject (or ClassDB I guess)
Reference4
It may be possible to use C# Source Generators to generate the proxy types for GDExtension types when building the C# project, but as far as I know no one has started working on this at the moment.
Relevant only to GDMP