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 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_interface.h: Godot와 GDExtension이 통신에 사용할 수 있는 C 함수 세트입니다.

  • extension_api.json: Godot API(핵심 기능)에서 노출되는 C 함수 목록입니다.

  • *.gdextension: GDExtension을 로드하기 위해 Godot가 읽는 파일 형식입니다.

대부분의 사람들은 godot-cpp(C++용) 또는 커뮤니티에서 만든 것 중 하나와 같은 일부 기존 언어 바인딩을 사용하여 GDExtension을 만듭니다.

버전 호환성

모든 GDExtension에 적용되는 :ref:`godot-cpp 버전 호환성 <doc_what_is_gdextension_version_compatibility>`을 참조하세요.