rtalan's picture

Converting OpenGL API to OpenTK - How is it done?

I am under the impression that the OpenGL API to OpenTK API conversion process is mostly automated (as well as augmented by some very talented Software Engineers). Is that correct?

I have the source for a C API that I would like to convert to a C# API without writting a gillion interop wrapper calls.

  • How might I accomplish this?

Thanks in advance!

Columbia, MD.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
AndyKorth's picture

There's a tiny amount of information here:


But basically yes, you can take a look at the opentk code that aids in the automatic generation of the bindings.


I don't know a whole lot about this process. But unfortunately, I think it is pretty specific to OpenGL, OpenAl, and OpenCL. I don't think it's a general purpose tool. You can poke around, but for automatic binding generation you'll probably want to look elsewhere.

rtalan's picture

Thank you for the info. I'll let you know if I find anything.