[Mono-list] Understanding a bit how things work
José Baltasar García Perez-Schofield
jbgarcia at uvigo.es
Mon Mar 5 11:40:06 UTC 2012
Hi, Charles!
> So, at this point, I need to determine if there is a package in mono
> that can provide the methods in "SlimDX" and if not, find something
> similar and re-work all the methods.
The problem is not SlimDX. The problem is that SlimDX is a wrapper library for DirectX, and there is not DirectX _at all_ in mono.
DirectX is a library available in Windows. C# is able to use it through p/invoke, in Windows, but because the library is already there:
http://msdn.microsoft.com/en-us/library/aa288468(v=vs.71).aspx
So, the real question is: the target operating system is Windows? If the answer is no, then you won't be able to use DirectX. You can for example use SDL and SDL#, which provide access to OpenGL:
http://www.matrix44.net/old/sdl/sdlnet.html
You can then distribute your mono application with the libraries for each platform, as the SDL library is multiplatform.
There are of course, other alternatives, such as Unity3D...
--
Baltasar García Perez-Schofield (jbgarcia at uvigo.es)
Dpt. Informática, Universidad de Vigo, España
http://webs.uvigo.es/jbgarcia/
More information about the Mono-list
mailing list