Runtime: Proposal: provide official managed(C#.net) wrapper APIs of DirectX

Created on 22 Aug 2020  路  2Comments  路  Source: dotnet/runtime

Since the open-source project SharpDX is no longer maintained, developers hope to have an official .net wrapper APIs of DirectX, which is maintained by microsoft.
I know that there is win2d project, but it only focus on 2D area, lacking of 3D support. Besides, win2d seems only support UWP, not support winform/WPF.
What we need is not a game engine, like monogame/unity3d. What we need is a set of managed APIs that support GPU acceleration on non-game 2D/3D graphics program, for example, a managed wrapper of DirectX12. Of course, it would be better if microsoft could provide higher level uniform wrapper APIs of DX12 and Vulkan, that would make our 2D/3D programs cross-platform.

area-Meta untriaged

Most helpful comment

What we need is a set of managed APIs that support GPU acceleration on non-game 2D/3D graphics program, for example, a managed wrapper of DirectX12.

@tannergooding's https://github.com/terrafx which has a full set of DirectX12 windows bindings for .NET https://github.com/terrafx/terrafx.interop.windows

Of course, it would be better if microsoft could provide higher level uniform wrapper APIs of DX12 and Vulkan, that would make our 2D/3D programs cross-platform.

@mellinoe's veldrid which is cross-platform (DirectX, Vulkan, Metal, OpenGL 3, OpenGL ES 3) and .NET Standard 2.0 https://github.com/mellinoe/veldrid

All 2 comments

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

What we need is a set of managed APIs that support GPU acceleration on non-game 2D/3D graphics program, for example, a managed wrapper of DirectX12.

@tannergooding's https://github.com/terrafx which has a full set of DirectX12 windows bindings for .NET https://github.com/terrafx/terrafx.interop.windows

Of course, it would be better if microsoft could provide higher level uniform wrapper APIs of DX12 and Vulkan, that would make our 2D/3D programs cross-platform.

@mellinoe's veldrid which is cross-platform (DirectX, Vulkan, Metal, OpenGL 3, OpenGL ES 3) and .NET Standard 2.0 https://github.com/mellinoe/veldrid

Was this page helpful?
0 / 5 - 0 ratings