jingwood / d2dlib

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
MIT License
233 stars 40 forks source link

Could this library benefit from C#9's function pointers? #34

Open nikeee opened 3 years ago

nikeee commented 3 years ago

There might be function pointers to unmanaged APIs in C#: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/function-pointers

Could this library benefit form that? Someone mentions here that this might be suitable for graphics APIs: https://news.ycombinator.com/item?id=24559462

If so, I'd like to contribute.

jingwood commented 3 years ago

Hi @nikeee! Thanks for the information. But sorry, I can't give you a clear answer to this. Could you provide some ideas or example code you may have?