Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next for Windows support #3

Open
2 tasks
GeorgeS2019 opened this issue Aug 18, 2024 · 1 comment
Open
2 tasks

Next for Windows support #3

GeorgeS2019 opened this issue Aug 18, 2024 · 1 comment

Comments

@GeorgeS2019
Copy link

GeorgeS2019 commented Aug 18, 2024

  • Embedding Godot UI for Windows

Godot Engine windows (both the main window, and other windows created after startup) may be rendered into surfaces provided by the host process.
Currently only implemented for Apple platforms.

To allow for embedding the Godot UI into a host process the host process needs to be able to pass the necessary data about a native surface where Godot may render its contents. The form of this native surface is entirely platform and rendering backend specific.

  • Is it possible now to have the c# version to create the SAME sample .net program as that of the only Apple platform demo?
    image

other [1] discussions

This is WIP request for embedding Godot UI for Windows

Direct3D 12 surface rendering (Godot4 already support Direct3D 12 rendering)

other [2] discussions

WPF DirectX Extensions

This allows you to host DirectX 10 and DirectX 11 content within WPF applications.
With this library, you can create a D3D11Image control in your XAML, which acts as a surface for rendering DirectX content.
Unfortunately, WPF DirectX Extensions currently only supports Direct3D 11, but the principles are similar for Direct3D 12.
You can find the library on GitHub and use NuGet packages to get started1.

@GeorgeS2019
Copy link
Author

@Calinou

How we can Pass DirectX surface from libgodot to host e.g. WPF or Winform Control so we can create e.g. Winform or WPF Godot user control ?

godotengine/godot-proposals#5692 (comment)

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

No branches or pull requests

1 participant