evilrat666 / directx-d

[DISCONTINUED] DirectX bindings for D
MIT License
20 stars 16 forks source link
bindings d directx

DirectX bindings for D language.


Running samples:

Open sample folder in terminal (a quick way is to shift-RMB in that folder in explorer and choose open command window) and simply type :

__dub run --arch=x86_64__

or since dub v1.2 for MS-COFF linker 'arch'

__dub run --arch=x86_mscoff__

or for x86

dub run

 

Some samples may require using Windows8 config if you are on Windows 8 or Windows 10, if you see related linker errors just specify that config in build:

__dub run --arch=x86_64 --config=Windows8__

 


Disclaimer:

Keep in mind that this bindings is still far from ideal, any changes may broke API. It requires a lot of commitment to be finally finished, and one can find something that is not there yet from C++.

Any questions on dlang.org forum thread

 


How to contribute:

Found an error? Got "access violation"? Simply open an issue!

There is also a lot of broken things around in code, just search the sources for "FIXME:" and "TODO:"

 

Pull requests are welcome!

 


License:

MIT License