Просмотр исходного кода

gdextension: Sync with upstream commit 8ed125b42908d0d46d3b8967e3a3bc03f809b3af (4.4-rc1)

David Snopek 5 месяцев назад
Родитель
Сommit
98ea2f60bb
1 измененных файлов с 124 добавлено и 50 удалено
  1. 124 50
      gdextension/extension_api.json

+ 124 - 50
gdextension/extension_api.json

@@ -3,9 +3,9 @@
 		"version_major": 4,
 		"version_minor": 4,
 		"version_patch": 0,
-		"version_status": "beta3",
+		"version_status": "rc1",
 		"version_build": "official",
-		"version_full_name": "Godot Engine v4.4.beta3.official"
+		"version_full_name": "Godot Engine v4.4.rc1.official"
 	},
 	"builtin_class_sizes": [
 		{
@@ -43184,6 +43184,30 @@
 			"is_instantiable": true,
 			"inherits": "AudioStream",
 			"api_type": "core",
+			"enums": [
+				{
+					"name": "AudioStreamGeneratorMixRate",
+					"is_bitfield": false,
+					"values": [
+						{
+							"name": "MIX_RATE_OUTPUT",
+							"value": 0
+						},
+						{
+							"name": "MIX_RATE_INPUT",
+							"value": 1
+						},
+						{
+							"name": "MIX_RATE_CUSTOM",
+							"value": 2
+						},
+						{
+							"name": "MIX_RATE_MAX",
+							"value": 3
+						}
+					]
+				}
+			],
 			"methods": [
 				{
 					"name": "set_mix_rate",
@@ -43212,6 +43236,31 @@
 						"meta": "float"
 					}
 				},
+				{
+					"name": "set_mix_rate_mode",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3354885803,
+					"arguments": [
+						{
+							"name": "mode",
+							"type": "enum::AudioStreamGenerator.AudioStreamGeneratorMixRate"
+						}
+					]
+				},
+				{
+					"name": "get_mix_rate_mode",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3537132591,
+					"return_value": {
+						"type": "enum::AudioStreamGenerator.AudioStreamGeneratorMixRate"
+					}
+				},
 				{
 					"name": "set_buffer_length",
 					"is_const": false,
@@ -43241,6 +43290,12 @@
 				}
 			],
 			"properties": [
+				{
+					"type": "int",
+					"name": "mix_rate_mode",
+					"setter": "set_mix_rate_mode",
+					"getter": "get_mix_rate_mode"
+				},
 				{
 					"type": "float",
 					"name": "mix_rate",
@@ -97080,38 +97135,17 @@
 					"is_required": false,
 					"is_vararg": false,
 					"is_virtual": true,
-					"hash": 3567846260,
+					"hash": 1576865988,
+					"hash_compatibility": [
+						3567846260
+					],
+					"return_value": {
+						"type": "typedarray::PackedStringArray"
+					},
 					"arguments": [
 						{
 							"name": "path",
 							"type": "String"
-						},
-						{
-							"name": "msgids",
-							"type": "typedarray::String"
-						},
-						{
-							"name": "msgids_context_plural",
-							"type": "typedarray::Array"
-						}
-					]
-				},
-				{
-					"name": "_get_comments",
-					"is_const": false,
-					"is_static": false,
-					"is_required": false,
-					"is_vararg": false,
-					"is_virtual": true,
-					"hash": 3922387911,
-					"arguments": [
-						{
-							"name": "msgids_comment",
-							"type": "typedarray::String"
-						},
-						{
-							"name": "msgids_context_plural_comment",
-							"type": "typedarray::String"
 						}
 					]
 				},
@@ -122542,7 +122576,7 @@
 						},
 						{
 							"name": "new_rect",
-							"type": "Vector2"
+							"type": "Rect2"
 						}
 					]
 				},
@@ -135289,6 +135323,17 @@
 							"type": "String"
 						}
 					]
+				},
+				{
+					"name": "get_exception",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3277089691,
+					"return_value": {
+						"type": "JavaObject"
+					}
 				}
 			]
 		},
@@ -219046,9 +219091,19 @@
 						{
 							"name": "STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT",
 							"value": 1
+						}
+					]
+				},
+				{
+					"name": "BufferCreationBits",
+					"is_bitfield": true,
+					"values": [
+						{
+							"name": "BUFFER_CREATION_DEVICE_ADDRESS_BIT",
+							"value": 1
 						},
 						{
-							"name": "STORAGE_BUFFER_USAGE_DEVICE_ADDRESS",
+							"name": "BUFFER_CREATION_AS_STORAGE_BIT",
 							"value": 2
 						}
 					]
@@ -220772,7 +220827,7 @@
 					"is_vararg": false,
 					"is_static": false,
 					"is_virtual": false,
-					"hash": 76995708,
+					"hash": 2089548973,
 					"hash_compatibility": [
 						3410049843,
 						3491282828
@@ -220792,14 +220847,9 @@
 							"default_value": "PackedByteArray()"
 						},
 						{
-							"name": "use_as_storage",
-							"type": "bool",
-							"default_value": "false"
-						},
-						{
-							"name": "enable_device_address",
-							"type": "bool",
-							"default_value": "false"
+							"name": "creation_bits",
+							"type": "bitfield::RenderingDevice.BufferCreationBits",
+							"default_value": "0"
 						}
 					]
 				},
@@ -220862,7 +220912,7 @@
 					"is_vararg": false,
 					"is_static": false,
 					"is_virtual": false,
-					"hash": 2360653086,
+					"hash": 2368684885,
 					"hash_compatibility": [
 						3935920523,
 						975915977
@@ -220891,9 +220941,9 @@
 							"default_value": "false"
 						},
 						{
-							"name": "enable_device_address",
-							"type": "bool",
-							"default_value": "false"
+							"name": "creation_bits",
+							"type": "bitfield::RenderingDevice.BufferCreationBits",
+							"default_value": "0"
 						}
 					]
 				},
@@ -221060,7 +221110,7 @@
 					"is_vararg": false,
 					"is_static": false,
 					"is_virtual": false,
-					"hash": 3410049843,
+					"hash": 2089548973,
 					"hash_compatibility": [
 						34556762,
 						1453158401
@@ -221080,9 +221130,9 @@
 							"default_value": "PackedByteArray()"
 						},
 						{
-							"name": "enable_device_address",
-							"type": "bool",
-							"default_value": "false"
+							"name": "creation_bits",
+							"type": "bitfield::RenderingDevice.BufferCreationBits",
+							"default_value": "0"
 						}
 					]
 				},
@@ -221092,8 +221142,9 @@
 					"is_vararg": false,
 					"is_static": false,
 					"is_virtual": false,
-					"hash": 2316365934,
+					"hash": 1609052553,
 					"hash_compatibility": [
+						2316365934,
 						1173156076
 					],
 					"return_value": {
@@ -221114,6 +221165,11 @@
 							"name": "usage",
 							"type": "bitfield::RenderingDevice.StorageBufferUsage",
 							"default_value": "0"
+						},
+						{
+							"name": "creation_bits",
+							"type": "bitfield::RenderingDevice.BufferCreationBits",
+							"default_value": "0"
 						}
 					]
 				},
@@ -266714,6 +266770,24 @@
 						}
 					]
 				},
+				{
+					"name": "get_line_with_ime",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 844755477,
+					"return_value": {
+						"type": "String"
+					},
+					"arguments": [
+						{
+							"name": "line",
+							"type": "int",
+							"meta": "int32"
+						}
+					]
+				},
 				{
 					"name": "get_line_width",
 					"is_const": true,