Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

New Managed DirectX bindings #1138

Open
amerkoleci opened this issue Mar 25, 2019 · 3 comments
Open

New Managed DirectX bindings #1138

amerkoleci opened this issue Mar 25, 2019 · 3 comments

Comments

@amerkoleci
Copy link
Contributor

amerkoleci commented Mar 25, 2019

Hi @xoofx ,

Due to inactivity of SharpDX I've decided to start new DirectX bindings but with some standard stuff.

  • I target net standard 2.0 and use mathematics from System.Numerics (Vector2, Vector3, etc).
  • Use Unsafe instead of Interop patching.
  • API strict to native C++ API so porting will be easy.
  • Won't bind Direct3D9 probably nor Direct3D10.
  • Not sure about XAudio or Multimedia framework.
  • No DirectInput, DirectSound, DirectManipulation, DirectComposition or RawInput.
  • Will support recent Windows 10 SDK and I plan to add raytracing support as well.
  • I took some approach from SharpDX for some bindings part.

The repo is here: https://github.com/amerkoleci/SharpWindows
And here you can see some example of API usage: https://github.com/amerkoleci/SharpWindows/tree/master/src/samples/Vortice.SampleFramework

If you want you can update README with links to thoose bindings.

@h1cks
Copy link

h1cks commented Mar 28, 2019

I've been looking at the back log of issues raised on Sharpdx and I will be trying to be more active in contributing back into Sharpdx with my own pull requests. But their seems to be a backlog of pull requests that haven't been dealt with.

Sharpdx I feel is pretty integral to game dev. Hopefully we can look at clearing the contribution backlog and get things moving.

Gl on the new bindings. If you get your Ray tracing support working, would be good to see how this can be pushed back into Sharpdx at some point.

@ghost
Copy link

ghost commented Mar 29, 2019

So, why doesn't M$ take care of this? It's their API. It's even their freaken programming language. -.-

@h1cks
Copy link

h1cks commented Mar 29, 2019

This wrapper is maintained by a 3rd party @xoofx who has put alot of time into it. Slimdx before that I believe was from MIT. MS really hasn't shown any interest since they dropped interest in their own C# DX APIs.

So xoofx has done a lot of work bringing this to the community. It's now the community as a whole who needs to keep this alive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants