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

Add native GDExtension #35

Closed
wants to merge 107 commits into from
Closed

Add native GDExtension #35

wants to merge 107 commits into from

Conversation

pkdawson
Copy link
Owner

@pkdawson pkdawson commented Jun 18, 2023

Add an optional imgui-godot-native plugin, which depends on imgui-godot.

  • Build system
  • Renderer
  • Input
  • Fonts
  • Viewports
  • Thread-safe renderer
  • Configuration
  • FreeType on Windows/Linux
  • FreeType on macOS (universal binaries)
  • C++ GDExtension API
  • C++ module API
    • Solve issues with GImGui - how to sync early?
    • Add version check
  • Finish C++ API (ImGuiGD equivalent)
  • GDScript API, with auto generated ImGui bindings
    • Fix enums somehow
    • Finish binding most of the API
  • C# works with native plugin
  • imgui-godot loads in non-Mono editor
  • Support custom MainLoop
  • Option to run in editor
    • Start paused, only run after ToolInit called
  • Real documentation
  • Wait for Godot 4.1.0

Bugs

  • INI filename corrupted sometimes - maybe fixed, but try ASAN

Later

  • Rust GDExtension sample

Limitations

  • No emoji support (ImGui.NET not built with 32-bit character support)
  • No canvas renderer unless someone asks for it

@pkdawson pkdawson self-assigned this Jun 18, 2023
@pkdawson pkdawson added the enhancement New feature or request label Jun 18, 2023
@pkdawson pkdawson marked this pull request as ready for review July 31, 2023 00:53
pkdawson added 9 commits July 31, 2023 03:53
Conflicts:
	addons/imgui-godot/ImGuiGodot/ImGuiLayer.cs
	addons/imgui-godot/ImGuiGodot/Internal/Input.cs
	addons/imgui-godot/plugin.cfg
	src/MySecondNode.cs
Conflicts:
	addons/imgui-godot/ImGuiGodot/ImGuiGD.cs
	addons/imgui-godot/ImGuiGodot/ImGuiLayer.cs
	addons/imgui-godot/plugin.cfg
@pkdawson
Copy link
Owner Author

pkdawson commented Mar 5, 2024

Superseded by branch gdext2

@pkdawson pkdawson closed this Mar 5, 2024
@pkdawson pkdawson deleted the gdext branch August 9, 2024 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant