-
|
Hello, First thanks for this awesome work. I've been using several outdates bindings and Silk.NET seems like a great way to unify and keep by bingins up to date. I'm however running into some difficulties when attempting to migrate my 3D engine :
I feel it's a bit complicated to manipulate these low level pointer from C#. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, thanks for your feedback! Bringing our bindings closer to C# and less raw is something we want to work on, however we want to capture the best of both worlds as 1:1 bindings is one of our features. For In GLFW's case, however, these bindings are handwritten and will need more work to fix them. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for your feedback!
Bringing our bindings closer to C# and less raw is something we want to work on, however we want to capture the best of both worlds as 1:1 bindings is one of our features.
For
GL.GetStringin particular, there isGL.GetStringSwhich returns a string but this isn't obvious, and in the future I think I'm going to look at adapting that to just overload to have anoutparameter on the original function. The root problem is we can't overload by return type alone, so I think usingoutparameters will solve that. After that we'll be much more capable of introducing overloads in this fashion.In GLFW's case, however, these bindings are handwritten and will need more …