This project is read-only.

DirectX example

Jul 16, 2015 at 8:45 PM

really nice project,

I'm thinking about porting my current game engine to csharp native. But from the example I'm seeing I don't really see how to interact with native library.

I'm using sharpDX at the moment but if I'm using your tool I should be using directX directly I guess?

Anyway I hope I was clear enough.
Jul 16, 2015 at 10:32 PM
you need to have a look at

review file Gl.cs and GLRenderingContextAdapter.cs

besically you need to use DllImport attribute to tell c# native to generate function with __dllimport attribute for "c" code
Jul 19, 2015 at 5:46 PM
Ok I4m not too familliar with DllImport but I'll lok into it. I'll share a sample when I'm done