网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
05月21日漏签0天
godot吧 关注:8,300贴子:38,117
  • 看贴

  • 图片

  • 吧主推荐

  • 游戏

  • 1回复贴,共1页
<<返回godot吧
>0< 加载中...

官方新闻:GDNative 在Godot 4.0的继任者 GDExtension

  • 只看楼主
  • 收藏

  • 回复
  • Austen
  • 小吧主
    9
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
RT,简单来说,是一个突破性更改。GDExtension只能用来写插件(godot-cpp也只能用来写插件), GDExtension可以让插件和核心类无法区分
In the past month, the team has been hard at work introducing the new native extensions system for Godot 4.0. GDExtension is a new implementation of the GDNative layer that allows the creation of compiled plugins for the engine. At its core, GDExtension is a C API that enables registration of classes implemented within a dynamic library. This allows dynamic libraries to be used by Godot in a way that is much better integrated than its predecessor, GDNative. Together with the godot-cpp library, GDExtension introduces a system that allows extending Godot to nearly the same level as statically linked C++ modules can.
The new registration system is now part of Godot's ClassDB. This means that classes implemented in plugins are indistinguishable from core classes.
This is a breaking change to the system. GDNative plugins written for Godot 3 will not run on Godot 4 and vice versa. Plugins written for Godot 3 will need to be altered and compiled for Godot 4.
The logic for extensions within Godot itself has been fully merged into the branch.master
The branch in the godot-headers repository has been updated to contain the headers for GDExtension. An file that contains definition information about all the core classes accessible from extensions was also added. The branch in the godot-headers repository can be used for plugin development using the old GDNative API for Godot 3.masterextension_api.json3.x
The branch in the godot-cpp repository has also been updated with the new godot-cpp implementation for GDExtension. It can now only be used to develop plugins for Godot 4. As with godot-headers, use the branch when developing plugins for Godot 3.master3.x


  • 人类的大敌
  • 吧主
    14
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
现在我才看到这贴,估计之前是被百度隐藏了


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 1回复贴,共1页
<<返回godot吧
分享到:
©2025 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示