-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split C++ (godot-cpp) and GDExtension system info into separate categ…
…ories, children of Scripting.
- Loading branch information
Showing
11 changed files
with
80 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
:allow_comments: False | ||
|
||
GDExtension | ||
=========== | ||
.. _doc_gdextension: | ||
|
||
The GDExtension System | ||
====================== | ||
|
||
**GDExtension** is a Godot-specific technology that lets the engine interact with | ||
native `shared libraries <https://en.wikipedia.org/wiki/Library_(computing)#Shared_libraries>`__ | ||
at runtime. You can use it to run native code without compiling it with the engine. | ||
|
||
.. note:: GDExtension is *not* a scripting language and has no relation to | ||
:ref:`GDScript <doc_gdscript>`. | ||
|
||
This section describes how GDExtension works, and is generally aimed at people wanting to make a GDExtension from | ||
scratch, for example to create language bindings. If you want to use existing language bindings, please refer to other | ||
articles instead, such as the articles about :ref:`C++ (godot-cpp) <doc_godot_cpp>` or one of the | ||
:ref:`community-made ones <doc_what_is_gdnative_third_party_bindings>`. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:name: toc-tutorials-gdnative | ||
:name: toc-tutorials-gdextension | ||
|
||
what_is_gdextension | ||
gdextension_cpp_example | ||
gdextension_c_example | ||
gdextension_file | ||
gdextension_docs_system | ||
gdextension_c_example |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Other Languages | ||
--------------- | ||
|
||
The Godot developers officially support the following language bindings for | ||
GDExtension: | ||
|
||
- C++ :ref:`(tutorial) <doc_gdextension_cpp_example>` | ||
|
||
.. note:: | ||
|
||
There are no plans to support additional languages with GDExtension officially. | ||
That said, the community offers several bindings for other languages (see | ||
below). | ||
|
||
.. _doc_what_is_gdnative_third_party_bindings: | ||
|
||
The bindings below are developed and maintained by the community: | ||
|
||
.. Binding developers: Feel free to open a pull request to add your binding if it's well-developed enough to be used in a project. | ||
.. Please keep languages sorted in alphabetical order. | ||
- `D <https://github.com/godot-dlang/godot-dlang>`__ | ||
- `Go <https://github.com/grow-graphics/gd>`__ | ||
- `Nim <https://github.com/godot-nim/gdext-nim>`__ | ||
- `Rust <https://github.com/godot-rust/gdext>`__ | ||
- `Swift <https://github.com/migueldeicaza/SwiftGodot>`__ | ||
|
||
.. note:: | ||
|
||
Not all bindings mentioned here may be production-ready. Make sure to | ||
research options thoroughly before starting a project with one of those. | ||
Also, double-check whether the binding is compatible with the Godot version | ||
you're using. |