Browse Source

gdextension: Sync with upstream commit 399c9dc393f6f84c0b4e4d4117906c70c048ecf2 (4.1.2-stable)

Rémi Verschelde 1 year ago
parent
commit
48b92acf8c
1 changed files with 153 additions and 2 deletions
  1. 153 2
      gdextension/extension_api.json

+ 153 - 2
gdextension/extension_api.json

@@ -2,10 +2,10 @@
 	"header": {
 	"header": {
 		"version_major": 4,
 		"version_major": 4,
 		"version_minor": 1,
 		"version_minor": 1,
-		"version_patch": 1,
+		"version_patch": 2,
 		"version_status": "stable",
 		"version_status": "stable",
 		"version_build": "official",
 		"version_build": "official",
-		"version_full_name": "Godot Engine v4.1.1.stable.official"
+		"version_full_name": "Godot Engine v4.1.2.stable.official"
 	},
 	},
 	"builtin_class_sizes": [
 	"builtin_class_sizes": [
 		{
 		{
@@ -113089,6 +113089,29 @@
 						}
 						}
 					]
 					]
 				},
 				},
+				{
+					"name": "should_ignore_device",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 2522259332,
+					"return_value": {
+						"type": "bool"
+					},
+					"arguments": [
+						{
+							"name": "vendor_id",
+							"type": "int",
+							"meta": "int32"
+						},
+						{
+							"name": "product_id",
+							"type": "int",
+							"meta": "int32"
+						}
+					]
+				},
 				{
 				{
 					"name": "get_connected_joypads",
 					"name": "get_connected_joypads",
 					"is_const": false,
 					"is_const": false,
@@ -122009,6 +122032,10 @@
 						{
 						{
 							"name": "BAKE_ERROR_USER_ABORTED",
 							"name": "BAKE_ERROR_USER_ABORTED",
 							"value": 8
 							"value": 8
+						},
+						{
+							"name": "BAKE_ERROR_TEXTURE_SIZE_TOO_SMALL",
+							"value": 9
 						}
 						}
 					]
 					]
 				},
 				},
@@ -149258,6 +149285,93 @@
 				}
 				}
 			]
 			]
 		},
 		},
+		{
+			"name": "OpenXRInteractionProfileMetadata",
+			"is_refcounted": false,
+			"is_instantiable": true,
+			"inherits": "Object",
+			"api_type": "core",
+			"methods": [
+				{
+					"name": "register_top_level_path",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 254767734,
+					"arguments": [
+						{
+							"name": "display_name",
+							"type": "String"
+						},
+						{
+							"name": "openxr_path",
+							"type": "String"
+						},
+						{
+							"name": "openxr_extension_name",
+							"type": "String"
+						}
+					]
+				},
+				{
+					"name": "register_interaction_profile",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 254767734,
+					"arguments": [
+						{
+							"name": "display_name",
+							"type": "String"
+						},
+						{
+							"name": "openxr_path",
+							"type": "String"
+						},
+						{
+							"name": "openxr_extension_name",
+							"type": "String"
+						}
+					]
+				},
+				{
+					"name": "register_io_path",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3443511926,
+					"arguments": [
+						{
+							"name": "interaction_profile",
+							"type": "String"
+						},
+						{
+							"name": "display_name",
+							"type": "String"
+						},
+						{
+							"name": "toplevel_path",
+							"type": "String"
+						},
+						{
+							"name": "openxr_path",
+							"type": "String"
+						},
+						{
+							"name": "openxr_extension_name",
+							"type": "String"
+						},
+						{
+							"name": "action_type",
+							"type": "enum::OpenXRAction.ActionType"
+						}
+					]
+				}
+			]
+		},
 		{
 		{
 			"name": "OpenXRInterface",
 			"name": "OpenXRInterface",
 			"is_refcounted": true,
 			"is_refcounted": true,
@@ -251426,6 +251540,43 @@
 						}
 						}
 					]
 					]
 				},
 				},
+				{
+					"name": "set_text_overrun_behavior",
+					"is_const": false,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 1940772195,
+					"arguments": [
+						{
+							"name": "column",
+							"type": "int",
+							"meta": "int32"
+						},
+						{
+							"name": "overrun_behavior",
+							"type": "enum::TextServer.OverrunBehavior"
+						}
+					]
+				},
+				{
+					"name": "get_text_overrun_behavior",
+					"is_const": true,
+					"is_vararg": false,
+					"is_static": false,
+					"is_virtual": false,
+					"hash": 3782727860,
+					"return_value": {
+						"type": "enum::TextServer.OverrunBehavior"
+					},
+					"arguments": [
+						{
+							"name": "column",
+							"type": "int",
+							"meta": "int32"
+						}
+					]
+				},
 				{
 				{
 					"name": "set_structured_text_bidi_override",
 					"name": "set_structured_text_bidi_override",
 					"is_const": false,
 					"is_const": false,