Will this work with DirectX / COM? #1294
-
The elephant in the room ... the most fun and interesting part of the Windows SDK that's been curiously overlooked by Project Reunion and that we've never had much official support for other than quickly abandoned bindings like MDX, great but short-lived products like XNA and aging community projects like SlimDX and SharpDX that are now cold to the touch. Game developers overwhelmingly want to be able to use DirectX directly from .NET for 3D apps, games, engines, editors, etc, and creating an interop binding is complicated and a full-time job for a single person or small team. That's how I ended up here and found this ... it sounds like the capability exists but it's hard to find and research and I don't think many people know much about WinRT, .winmd files or the likes. I'm certainly just finding out about it myself. So, is this going to work with DirectX's COM interfaces and functions? Is there already a C# projection for DirectX, at least for D3D12, the latest DXGI, etc? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
The win32 metadata includes full coverage of DirectX including Direct3D 12. You can find examples of its application in Rust here: https://github.com/microsoft/windows-rs/tree/master/crates/samples I don't know how well this is supported by other languages, but the metadata is at least sufficient to support these APIs. |
Beta Was this translation helpful? Give feedback.
The win32 metadata includes full coverage of DirectX including Direct3D 12. You can find examples of its application in Rust here:
https://github.com/microsoft/windows-rs/tree/master/crates/samples
I don't know how well this is supported by other languages, but the metadata is at least sufficient to support these APIs.