On Sunday, 3 November 2013 at 05:27:24 UTC, evilrat wrote:
Greetings,
many of you may notice lack of (up-to-date and working) DirectX
bindings, one may also seen my activity on d.learn sub forum.
so let me announce yet another bindings for DirectX which one
may fork right now from github!
https://github.com/evilrat666/directx-d
please be careful though, as it is only in alpha stage and
missing some stuff. current version is June 2010 SDK, but i
update it(to win8 sdk version) once i had win8 machine(i'm
still don't have a PC at home).
also, there is no d3d9 and d3d10 stuff as i consider it
outdated now, but i would appreciate pull requests for them
anyway :)
Hi,
Good work.
While porting header to D you can use:
alias int _D3D_SHADER_INPUT_FLAGS
enum : _D3D_SHADER_INPUT_FLAGS
{
D3D_SIF_USERPACKED = 1,
// others...
}
instead of:
enum _D3D_SHADER_INPUT_FLAGS
{
D3D_SIF_USERPACKED = 1,
// others...
}
That way using the enum won't force to use a namespace.