Browse Source

gdextension: Sync with upstream commit 93cdacbb0a30f12b2f3f5e8e06b90149deeb554b (4.2-beta4)

Rémi Verschelde 1 year ago
parent
commit
5deb29b283
1 changed files with 66 additions and 62 deletions
  1. 66 62
      gdextension/extension_api.json

+ 66 - 62
gdextension/extension_api.json

@@ -3,9 +3,9 @@
 		"version_major": 4,
 		"version_minor": 2,
 		"version_patch": 0,
-		"version_status": "beta3",
+		"version_status": "beta4",
 		"version_build": "official",
-		"version_full_name": "Godot Engine v4.2.beta3.official"
+		"version_full_name": "Godot Engine v4.2.beta4.official"
 	},
 	"builtin_class_sizes": [
 		{
@@ -72951,28 +72951,28 @@
 					"getter": "get_size"
 				},
 				{
-					"type": "Texture",
+					"type": "Texture2D",
 					"name": "texture_albedo",
 					"setter": "set_texture",
 					"getter": "get_texture",
 					"index": 0
 				},
 				{
-					"type": "Texture",
+					"type": "Texture2D",
 					"name": "texture_normal",
 					"setter": "set_texture",
 					"getter": "get_texture",
 					"index": 1
 				},
 				{
-					"type": "Texture",
+					"type": "Texture2D",
 					"name": "texture_orm",
 					"setter": "set_texture",
 					"getter": "get_texture",
 					"index": 2
 				},
 				{
-					"type": "Texture",
+					"type": "Texture2D",
 					"name": "texture_emission",
 					"setter": "set_texture",
 					"getter": "get_texture",
@@ -125379,28 +125379,28 @@
 			"api_type": "core",
 			"methods": [
 				{
-					"name": "set_light_texture",
+					"name": "set_lightmap_textures",
 					"is_const": false,
 					"is_vararg": false,
 					"is_static": false,
 					"is_virtual": false,
-					"hash": 1278366092,
+					"hash": 381264803,
 					"arguments": [
 						{
-							"name": "light_texture",
-							"type": "TextureLayered"
+							"name": "light_textures",
+							"type": "typedarray::TextureLayered"
 						}
 					]
 				},
 				{
-					"name": "get_light_texture",
+					"name": "get_lightmap_textures",
 					"is_const": true,
 					"is_vararg": false,
 					"is_static": false,
 					"is_virtual": false,
-					"hash": 3984243839,
+					"hash": 3995934104,
 					"return_value": {
-						"type": "TextureLayered"
+						"type": "typedarray::TextureLayered"
 					}
 				},
 				{
@@ -125493,20 +125493,39 @@
 					"is_static": false,
 					"is_virtual": false,
 					"hash": 3218959716
+				},
+				{
+					"name": "set_light_texture",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 1278366092,
+					"arguments": [
+						{
+							"name": "light_texture",
+							"type": "TextureLayered"
+						}
+					]
+				},
+				{
+					"name": "get_light_texture",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3984243839,
+					"return_value": {
+						"type": "TextureLayered"
+					}
 				}
 			],
 			"properties": [
 				{
-					"type": "TextureLayered",
-					"name": "light_texture",
-					"setter": "set_light_texture",
-					"getter": "get_light_texture"
-				},
-				{
-					"type": "Array",
-					"name": "light_textures",
-					"setter": "_set_light_textures_data",
-					"getter": "_get_light_textures_data"
+					"type": "typedarray::TextureLayered",
+					"name": "lightmap_textures",
+					"setter": "set_lightmap_textures",
+					"getter": "get_lightmap_textures"
 				},
 				{
 					"type": "bool",
@@ -125525,6 +125544,18 @@
 					"name": "probe_data",
 					"setter": "_set_probe_data",
 					"getter": "_get_probe_data"
+				},
+				{
+					"type": "TextureLayered",
+					"name": "light_texture",
+					"setter": "set_light_texture",
+					"getter": "get_light_texture"
+				},
+				{
+					"type": "Array",
+					"name": "light_textures",
+					"setter": "_set_light_textures_data",
+					"getter": "_get_light_textures_data"
 				}
 			]
 		},
@@ -127389,7 +127420,7 @@
 					"getter": "is_drag_and_drop_selection_enabled"
 				},
 				{
-					"type": "Texture",
+					"type": "Texture2D",
 					"name": "right_icon",
 					"setter": "set_right_icon",
 					"getter": "get_right_icon"
@@ -128961,6 +128992,10 @@
 						{
 							"name": "ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY",
 							"value": 268435456
+						},
+						{
+							"name": "ARRAY_FLAG_COMPRESS_ATTRIBUTES",
+							"value": 536870912
 						}
 					]
 				},
@@ -225928,7 +225963,7 @@
 			],
 			"properties": [
 				{
-					"type": "Texture",
+					"type": "Texture2D",
 					"name": "texture",
 					"setter": "set_texture",
 					"getter": "get_texture"
@@ -232115,6 +232150,12 @@
 				}
 			],
 			"properties": [
+				{
+					"type": "int",
+					"name": "tab_count",
+					"setter": "set_tab_count",
+					"getter": "get_tab_count"
+				},
 				{
 					"type": "int",
 					"name": "current_tab",
@@ -232174,12 +232215,6 @@
 					"name": "select_with_rmb",
 					"setter": "set_select_with_rmb",
 					"getter": "get_select_with_rmb"
-				},
-				{
-					"type": "int",
-					"name": "tab_count",
-					"setter": "set_tab_count",
-					"getter": "get_tab_count"
 				}
 			]
 		},
@@ -266707,31 +266742,6 @@
 						"type": "bool"
 					}
 				},
-				{
-					"name": "set_disable_2d",
-					"is_const": false,
-					"is_vararg": false,
-					"is_static": false,
-					"is_virtual": false,
-					"hash": 2586408642,
-					"arguments": [
-						{
-							"name": "disable",
-							"type": "bool"
-						}
-					]
-				},
-				{
-					"name": "is_2d_disabled",
-					"is_const": true,
-					"is_vararg": false,
-					"is_static": false,
-					"is_virtual": false,
-					"hash": 36873697,
-					"return_value": {
-						"type": "bool"
-					}
-				},
 				{
 					"name": "set_disable_3d",
 					"is_const": false,
@@ -266954,12 +266964,6 @@
 				}
 			],
 			"properties": [
-				{
-					"type": "bool",
-					"name": "disable_2d",
-					"setter": "set_disable_2d",
-					"getter": "is_2d_disabled"
-				},
 				{
 					"type": "bool",
 					"name": "disable_3d",