gdextension: Sync with upstream commit 3c9bf4bc210a8e6a208f30ca59de4d4d7e18c04d (4.0-beta12)

pull/997/head
Rémi Verschelde 2023-01-13 17:07:21 +01:00
parent 512ec5b236
commit 151ea35c5f
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 380 additions and 120 deletions

View File

@ -3,9 +3,9 @@
"version_major": 4,
"version_minor": 0,
"version_patch": 0,
"version_status": "beta11",
"version_status": "beta12",
"version_build": "official",
"version_full_name": "Godot Engine v4.0.beta11.official"
"version_full_name": "Godot Engine v4.0.beta12.official"
},
"builtin_class_sizes": [
{
@ -18541,6 +18541,14 @@
"is_static": false,
"hash": 3173160232
},
{
"name": "get_bound_arguments",
"return_type": "Array",
"is_vararg": false,
"is_const": true,
"is_static": false,
"hash": 4144163970
},
{
"name": "hash",
"return_type": "int",
@ -31043,20 +31051,21 @@
}
]
},
{
"name": "pause",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3218959716
},
{
"name": "stop",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3216645846,
"arguments": [
{
"name": "reset",
"type": "bool",
"default_value": "true"
}
]
"hash": 3218959716
},
{
"name": "is_playing",
@ -54527,7 +54536,7 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3655830234,
"hash": 2175215884,
"arguments": [
{
"name": "from",
@ -54552,6 +54561,11 @@
"type": "float",
"meta": "float",
"default_value": "2.0"
},
{
"name": "aligned",
"type": "bool",
"default_value": "true"
}
]
},
@ -67287,11 +67301,19 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3975164845,
"hash": 1076571380,
"arguments": [
{
"name": "target",
"type": "Object"
"name": "drag_func",
"type": "Callable"
},
{
"name": "can_drop_func",
"type": "Callable"
},
{
"name": "drop_func",
"type": "Callable"
}
]
},
@ -93204,6 +93226,13 @@
}
]
},
{
"name": "FramebufferCacheRD",
"is_refcounted": false,
"is_instantiable": false,
"inherits": "Object",
"api_type": "core"
},
{
"name": "GDExtension",
"is_refcounted": true,
@ -104661,10 +104690,10 @@
"name": "position_offset_changed"
},
{
"name": "selected"
"name": "node_selected"
},
{
"name": "deselected"
"name": "node_deselected"
},
{
"name": "slot_updated",
@ -124012,31 +124041,6 @@
"return_value": {
"type": "Texture2D"
}
},
{
"name": "set_normal_map",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4051416890,
"arguments": [
{
"name": "normal_map",
"type": "Texture2D"
}
]
},
{
"name": "get_normal_map",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3635182373,
"return_value": {
"type": "Texture2D"
}
}
],
"signals": [
@ -124056,12 +124060,6 @@
"name": "texture",
"setter": "set_texture",
"getter": "get_texture"
},
{
"type": "Texture2D",
"name": "normal_map",
"setter": "set_normal_map",
"getter": "get_normal_map"
}
]
},
@ -125899,31 +125897,6 @@
"return_value": {
"type": "Texture2D"
}
},
{
"name": "set_normal_map",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4051416890,
"arguments": [
{
"name": "normal_map",
"type": "Texture2D"
}
]
},
{
"name": "get_normal_map",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3635182373,
"return_value": {
"type": "Texture2D"
}
}
],
"signals": [
@ -125943,12 +125916,6 @@
"name": "texture",
"setter": "set_texture",
"getter": "get_texture"
},
{
"type": "Texture2D",
"name": "normal_map",
"setter": "set_normal_map",
"getter": "get_normal_map"
}
]
},
@ -133346,6 +133313,50 @@
"is_instantiable": false,
"inherits": "Object",
"api_type": "core",
"enums": [
{
"name": "ProcessInfo",
"is_bitfield": false,
"values": [
{
"name": "INFO_ACTIVE_MAPS",
"value": 0
},
{
"name": "INFO_REGION_COUNT",
"value": 1
},
{
"name": "INFO_AGENT_COUNT",
"value": 2
},
{
"name": "INFO_LINK_COUNT",
"value": 3
},
{
"name": "INFO_POLYGON_COUNT",
"value": 4
},
{
"name": "INFO_EDGE_COUNT",
"value": 5
},
{
"name": "INFO_EDGE_MERGE_COUNT",
"value": 6
},
{
"name": "INFO_EDGE_CONNECTION_COUNT",
"value": 7
},
{
"name": "INFO_EDGE_FREE_COUNT",
"value": 8
}
]
}
],
"methods": [
{
"name": "get_maps",
@ -134673,6 +134684,24 @@
"meta": "float"
}
]
},
{
"name": "get_process_info",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1938440894,
"return_value": {
"type": "int",
"meta": "int32"
},
"arguments": [
{
"name": "process_info",
"type": "enum::NavigationServer3D.ProcessInfo"
}
]
}
],
"signals": [
@ -139077,17 +139106,10 @@
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2024808598,
"hash": 2841200299,
"return_value": {
"type": "String"
},
"arguments": [
{
"name": "block",
"type": "bool",
"default_value": "true"
}
]
},
{
"name": "execute",
@ -146218,88 +146240,128 @@
"value": 2
},
{
"name": "MEMORY_STATIC",
"name": "TIME_NAVIGATION_PROCESS",
"value": 3
},
{
"name": "MEMORY_STATIC_MAX",
"name": "MEMORY_STATIC",
"value": 4
},
{
"name": "MEMORY_MESSAGE_BUFFER_MAX",
"name": "MEMORY_STATIC_MAX",
"value": 5
},
{
"name": "OBJECT_COUNT",
"name": "MEMORY_MESSAGE_BUFFER_MAX",
"value": 6
},
{
"name": "OBJECT_RESOURCE_COUNT",
"name": "OBJECT_COUNT",
"value": 7
},
{
"name": "OBJECT_NODE_COUNT",
"name": "OBJECT_RESOURCE_COUNT",
"value": 8
},
{
"name": "OBJECT_ORPHAN_NODE_COUNT",
"name": "OBJECT_NODE_COUNT",
"value": 9
},
{
"name": "RENDER_TOTAL_OBJECTS_IN_FRAME",
"name": "OBJECT_ORPHAN_NODE_COUNT",
"value": 10
},
{
"name": "RENDER_TOTAL_PRIMITIVES_IN_FRAME",
"name": "RENDER_TOTAL_OBJECTS_IN_FRAME",
"value": 11
},
{
"name": "RENDER_TOTAL_DRAW_CALLS_IN_FRAME",
"name": "RENDER_TOTAL_PRIMITIVES_IN_FRAME",
"value": 12
},
{
"name": "RENDER_VIDEO_MEM_USED",
"name": "RENDER_TOTAL_DRAW_CALLS_IN_FRAME",
"value": 13
},
{
"name": "RENDER_TEXTURE_MEM_USED",
"name": "RENDER_VIDEO_MEM_USED",
"value": 14
},
{
"name": "RENDER_BUFFER_MEM_USED",
"name": "RENDER_TEXTURE_MEM_USED",
"value": 15
},
{
"name": "PHYSICS_2D_ACTIVE_OBJECTS",
"name": "RENDER_BUFFER_MEM_USED",
"value": 16
},
{
"name": "PHYSICS_2D_COLLISION_PAIRS",
"name": "PHYSICS_2D_ACTIVE_OBJECTS",
"value": 17
},
{
"name": "PHYSICS_2D_ISLAND_COUNT",
"name": "PHYSICS_2D_COLLISION_PAIRS",
"value": 18
},
{
"name": "PHYSICS_3D_ACTIVE_OBJECTS",
"name": "PHYSICS_2D_ISLAND_COUNT",
"value": 19
},
{
"name": "PHYSICS_3D_COLLISION_PAIRS",
"name": "PHYSICS_3D_ACTIVE_OBJECTS",
"value": 20
},
{
"name": "PHYSICS_3D_ISLAND_COUNT",
"name": "PHYSICS_3D_COLLISION_PAIRS",
"value": 21
},
{
"name": "AUDIO_OUTPUT_LATENCY",
"name": "PHYSICS_3D_ISLAND_COUNT",
"value": 22
},
{
"name": "MONITOR_MAX",
"name": "AUDIO_OUTPUT_LATENCY",
"value": 23
},
{
"name": "NAVIGATION_ACTIVE_MAPS",
"value": 24
},
{
"name": "NAVIGATION_REGION_COUNT",
"value": 25
},
{
"name": "NAVIGATION_AGENT_COUNT",
"value": 26
},
{
"name": "NAVIGATION_LINK_COUNT",
"value": 27
},
{
"name": "NAVIGATION_POLYGON_COUNT",
"value": 28
},
{
"name": "NAVIGATION_EDGE_COUNT",
"value": 29
},
{
"name": "NAVIGATION_EDGE_MERGE_COUNT",
"value": 30
},
{
"name": "NAVIGATION_EDGE_CONNECTION_COUNT",
"value": 31
},
{
"name": "NAVIGATION_EDGE_FREE_COUNT",
"value": 32
},
{
"name": "MONITOR_MAX",
"value": 33
}
]
}
@ -148527,6 +148589,24 @@
}
]
},
{
"name": "get_contact_impulse",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2299179447,
"return_value": {
"type": "Vector2"
},
"arguments": [
{
"name": "contact_idx",
"type": "int",
"meta": "int32"
}
]
},
{
"name": "get_step",
"is_const": true,
@ -149140,6 +149220,22 @@
}
]
},
{
"name": "_get_contact_impulse",
"is_const": true,
"is_static": false,
"is_vararg": false,
"is_virtual": true,
"return_value": {
"type": "Vector2"
},
"arguments": [
{
"name": "contact_idx",
"type": "int"
}
]
},
{
"name": "_get_step",
"is_const": true,
@ -150879,6 +150975,23 @@
"type": "PhysicsServer2DExtensionShapeRestInfo*"
}
]
},
{
"name": "is_body_excluded_from_query",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4155700596,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "body",
"type": "RID"
}
]
}
]
},
@ -151313,6 +151426,23 @@
"type": "Vector3"
}
]
},
{
"name": "is_body_excluded_from_query",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4155700596,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "body",
"type": "RID"
}
]
}
]
},
@ -157321,6 +157451,41 @@
"type": "enum::PhysicsServer2D.ProcessInfo"
}
]
},
{
"name": "body_test_motion_is_excluding_body",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4155700596,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "body",
"type": "RID"
}
]
},
{
"name": "body_test_motion_is_excluding_object",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1116898809,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "object",
"type": "int",
"meta": "uint64"
}
]
}
]
},
@ -163853,6 +164018,41 @@
"type": "enum::PhysicsServer3D.ProcessInfo"
}
]
},
{
"name": "body_test_motion_is_excluding_body",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4155700596,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "body",
"type": "RID"
}
]
},
{
"name": "body_test_motion_is_excluding_object",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1116898809,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "object",
"type": "int",
"meta": "uint64"
}
]
}
]
},
@ -191528,6 +191728,17 @@
}
]
},
{
"name": "get_default_clear_color",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3200896285,
"return_value": {
"type": "Color"
}
},
{
"name": "set_default_clear_color",
"is_const": false,
@ -198700,6 +198911,14 @@
"type": "enum::Error"
}
},
{
"name": "unload_current_scene",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3218959716
},
{
"name": "set_multiplayer",
"is_const": false,
@ -235038,6 +235257,36 @@
"inherits": "Control",
"api_type": "core",
"enums": [
{
"name": "ExpandMode",
"is_bitfield": false,
"values": [
{
"name": "EXPAND_KEEP_SIZE",
"value": 0
},
{
"name": "EXPAND_IGNORE_SIZE",
"value": 1
},
{
"name": "EXPAND_FIT_WIDTH",
"value": 2
},
{
"name": "EXPAND_FIT_WIDTH_PROPORTIONAL",
"value": 3
},
{
"name": "EXPAND_FIT_HEIGHT",
"value": 4
},
{
"name": "EXPAND_FIT_HEIGHT_PROPORTIONAL",
"value": 5
}
]
},
{
"name": "StretchMode",
"is_bitfield": false,
@ -235100,28 +235349,28 @@
}
},
{
"name": "set_ignore_texture_size",
"name": "set_expand_mode",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"hash": 1870766882,
"arguments": [
{
"name": "ignore",
"type": "bool"
"name": "expand_mode",
"type": "enum::TextureRect.ExpandMode"
}
]
},
{
"name": "get_ignore_texture_size",
"name": "get_expand_mode",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 36873697,
"hash": 3863824733,
"return_value": {
"type": "bool"
"type": "enum::TextureRect.ExpandMode"
}
},
{
@ -235208,10 +235457,10 @@
"getter": "get_texture"
},
{
"type": "bool",
"name": "ignore_texture_size",
"setter": "set_ignore_texture_size",
"getter": "get_ignore_texture_size"
"type": "int",
"name": "expand_mode",
"setter": "set_expand_mode",
"getter": "get_expand_mode"
},
{
"type": "int",
@ -248260,6 +248509,13 @@
}
]
},
{
"name": "UniformSetCacheRD",
"is_refcounted": false,
"is_instantiable": false,
"inherits": "Object",
"api_type": "core"
},
{
"name": "VBoxContainer",
"is_refcounted": false,
@ -256325,8 +256581,12 @@
"value": 2
},
{
"name": "OP_TYPE_MAX",
"name": "OP_TYPE_VECTOR_4D",
"value": 3
},
{
"name": "OP_TYPE_MAX",
"value": 4
}
]
}