Imaginary Game Engine » Development » DoxyBind
DoxyBind is our home-made bindings generator, to create C# bindings for a C++ api. It parses the XML output from the popular documentation generator Doxygen. From these XML files it builds a set of C++ source files that export the API into C functions. These functions are imported into C# using the DllImportAttribute and used to reconstruct a class. In C# there are delegates created for virtual functions, which in turn can be called from the C++ code to call overrides. For an example see PhysX-sharp.