|
|
2 months ago | |
|---|---|---|
| .. | ||
| .config | 2 months ago | |
| .vscode | 2 months ago | |
| Properties | 2 months ago | |
| App.xaml | 2 months ago | |
| App.xaml.cs | 2 months ago | |
| D3D11Host.cs | 2 months ago | |
| D3D11Image.cs | 2 months ago | |
| D3D9.cs | 2 months ago | |
| MainWindow.xaml | 2 months ago | |
| MainWindow.xaml.cs | 2 months ago | |
| README.md | 2 months ago | |
| WpfInteropSample.csproj | 2 months ago | |
| WpfInteropSample.sln | 2 months ago | |
This sample demonstrates how to display MonoGame graphics inside a WPF application using a D3DImage. It leverages MonoGame 3.8.x and SharpDX for Direct3D interop.
Ctrl+Shift+B to build (or run the build task).F5 to launch and debug the app.# Restore dependencies
dotnet restore
# Build the project
dotnet build
# Run the app
dotnet run --project WpfInteropSample.csproj
This project is a modernized version of the original sample, now using NuGet packages and SDK-style .csproj for easier development.