Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

GDExtension 系統

GDExtension is a Godot-specific technology that lets the engine interact with native shared libraries at runtime. You can use it to run native code without compiling it with the engine.

備註

GDExtension 不是 指令碼語言,也與 GDScript 無關。

本節介紹 GDExtension 的運作方式,主要面向想要從零實作 GDExtension(例如建立語言綁定)的人。如果你只想使用現有的語言綁定,請參閱其他文章,例如 C++(godot-cpp) 或其中一個 社群製作的綁定