JiepengTan / libgodot_llgo_demo

3 stars 0 forks source link

Next for Windows support #3

Open GeorgeS2019 opened 2 months ago

GeorgeS2019 commented 2 months ago

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.

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 commented 2 months ago

@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 ?

https://github.com/godotengine/godot-proposals/issues/5692#issuecomment-2297813325