headers: Sync with upstream commit 7f8ecffa5 (4.0-beta6)

pull/900/merge
Rémi Verschelde 2022-11-23 15:43:17 +01:00
parent 12c022ee37
commit 576bd17285
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 299 additions and 139 deletions

View File

@ -3,9 +3,9 @@
"version_major": 4, "version_major": 4,
"version_minor": 0, "version_minor": 0,
"version_patch": 0, "version_patch": 0,
"version_status": "beta5", "version_status": "beta6",
"version_build": "official", "version_build": "official",
"version_full_name": "Godot Engine v4.0.beta5.official" "version_full_name": "Godot Engine v4.0.beta6.official"
}, },
"builtin_class_sizes": [ "builtin_class_sizes": [
{ {
@ -7872,11 +7872,11 @@
}, },
{ {
"name": "split_floats", "name": "split_floats",
"return_type": "PackedFloat32Array", "return_type": "PackedFloat64Array",
"is_vararg": false, "is_vararg": false,
"is_const": true, "is_const": true,
"is_static": false, "is_static": false,
"hash": 1089991737, "hash": 2092079095,
"arguments": [ "arguments": [
{ {
"name": "delimiter", "name": "delimiter",
@ -26092,11 +26092,6 @@
] ]
} }
], ],
"signals": [
{
"name": "tracks_changed"
}
],
"properties": [ "properties": [
{ {
"type": "float", "type": "float",
@ -66262,6 +66257,31 @@
"return_value": { "return_value": {
"type": "bool" "type": "bool"
} }
},
{
"name": "set_localize_numeral_system",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enable",
"type": "bool"
}
]
},
{
"name": "is_localizing_numeral_system",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 36873697,
"return_value": {
"type": "bool"
}
} }
], ],
"signals": [ "signals": [
@ -66475,6 +66495,13 @@
"getter": "is_auto_translating", "getter": "is_auto_translating",
"index": -1 "index": -1
}, },
{
"type": "bool",
"name": "localize_numeral_system",
"setter": "set_localize_numeral_system",
"getter": "is_localizing_numeral_system",
"index": -1
},
{ {
"type": "String", "type": "String",
"name": "tooltip_text", "name": "tooltip_text",
@ -68304,6 +68331,34 @@
} }
] ]
}, },
{
"name": "sample_baked_with_rotation",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3967277419,
"return_value": {
"type": "Transform3D"
},
"arguments": [
{
"name": "offset",
"type": "float",
"meta": "float"
},
{
"name": "cubic",
"type": "bool",
"default_value": "false"
},
{
"name": "apply_tilt",
"type": "bool",
"default_value": "false"
}
]
},
{ {
"name": "sample_baked_up_vector", "name": "sample_baked_up_vector",
"is_const": true, "is_const": true,
@ -88607,7 +88662,7 @@
] ]
}, },
{ {
"name": "instance", "name": "instantiate",
"arguments": [ "arguments": [
{ {
"name": "files", "name": "files",
@ -92004,13 +92059,6 @@
} }
] ]
}, },
{
"name": "FramebufferCacheRD",
"is_refcounted": false,
"is_instantiable": false,
"inherits": "Object",
"api_type": "core"
},
{ {
"name": "GDScript", "name": "GDScript",
"is_refcounted": true, "is_refcounted": true,
@ -93184,38 +93232,23 @@
] ]
}, },
{ {
"name": "set_extensions", "name": "register_gltf_document_extension",
"is_const": false, "is_const": false,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": true,
"is_virtual": false, "is_virtual": false,
"hash": 381264803, "hash": 3752678331,
"arguments": [ "arguments": [
{ {
"name": "extensions", "name": "extension",
"type": "typedarray::GLTFDocumentExtension" "type": "GLTFDocumentExtension"
},
{
"name": "first_priority",
"type": "bool",
"default_value": "false"
} }
] ]
},
{
"name": "get_extensions",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3995934104,
"return_value": {
"type": "typedarray::GLTFDocumentExtension"
}
}
],
"properties": [
{
"type": "typedarray::24/17:GLTFDocumentExtension",
"name": "extensions",
"setter": "set_extensions",
"getter": "get_extensions",
"index": -1
} }
] ]
}, },
@ -93226,16 +93259,6 @@
"inherits": "Resource", "inherits": "Resource",
"api_type": "core", "api_type": "core",
"methods": [ "methods": [
{
"name": "_get_supported_extensions",
"is_const": false,
"is_static": false,
"is_vararg": false,
"is_virtual": true,
"return_value": {
"type": "PackedStringArray"
}
},
{ {
"name": "_import_preflight", "name": "_import_preflight",
"is_const": false, "is_const": false,
@ -93249,6 +93272,68 @@
{ {
"name": "state", "name": "state",
"type": "GLTFState" "type": "GLTFState"
},
{
"name": "extensions",
"type": "PackedStringArray"
}
]
},
{
"name": "_get_supported_extensions",
"is_const": false,
"is_static": false,
"is_vararg": false,
"is_virtual": true,
"return_value": {
"type": "PackedStringArray"
}
},
{
"name": "_parse_node_extensions",
"is_const": false,
"is_static": false,
"is_vararg": false,
"is_virtual": true,
"return_value": {
"type": "int"
},
"arguments": [
{
"name": "state",
"type": "GLTFState"
},
{
"name": "gltf_node",
"type": "GLTFNode"
},
{
"name": "extensions",
"type": "Dictionary"
}
]
},
{
"name": "_generate_scene_node",
"is_const": false,
"is_static": false,
"is_vararg": false,
"is_virtual": true,
"return_value": {
"type": "Node3D"
},
"arguments": [
{
"name": "state",
"type": "GLTFState"
},
{
"name": "gltf_node",
"type": "GLTFNode"
},
{
"name": "scene_parent",
"type": "Node"
} }
] ]
}, },
@ -93332,6 +93417,27 @@
} }
] ]
}, },
{
"name": "_convert_scene_node",
"is_const": false,
"is_static": false,
"is_vararg": false,
"is_virtual": true,
"arguments": [
{
"name": "state",
"type": "GLTFState"
},
{
"name": "gltf_node",
"type": "GLTFNode"
},
{
"name": "scene_node",
"type": "Node"
}
]
},
{ {
"name": "_export_node", "name": "_export_node",
"is_const": false, "is_const": false,
@ -133728,7 +133834,7 @@
"value": 4 "value": 4
}, },
{ {
"name": "DUPLICATE_USE_INSTANCING", "name": "DUPLICATE_USE_INSTANTIATION",
"value": 8 "value": 8
} }
] ]
@ -139383,6 +139489,13 @@
} }
] ]
}, },
{
"name": "OfflineMultiplayerPeer",
"is_refcounted": true,
"is_instantiable": true,
"inherits": "MultiplayerPeer",
"api_type": "core"
},
{ {
"name": "OggPacketSequence", "name": "OggPacketSequence",
"is_refcounted": true, "is_refcounted": true,
@ -139707,7 +139820,7 @@
"index": -1 "index": -1
}, },
{ {
"type": "typedarray::STRING", "type": "PackedStringArray",
"name": "toplevel_paths", "name": "toplevel_paths",
"setter": "set_toplevel_paths", "setter": "set_toplevel_paths",
"getter": "get_toplevel_paths", "getter": "get_toplevel_paths",
@ -140366,7 +140479,7 @@
"index": -1 "index": -1
}, },
{ {
"type": "typedarray::STRING", "type": "PackedStringArray",
"name": "paths", "name": "paths",
"setter": "set_paths", "setter": "set_paths",
"getter": "get_paths", "getter": "get_paths",
@ -144722,6 +144835,52 @@
"return_value": { "return_value": {
"type": "bool" "type": "bool"
} }
},
{
"name": "set_tilt_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "is_tilt_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 36873697,
"return_value": {
"type": "bool"
}
},
{
"name": "correct_posture",
"is_const": false,
"is_vararg": false,
"is_static": true,
"is_virtual": false,
"hash": 2686588690,
"return_value": {
"type": "Transform3D"
},
"arguments": [
{
"name": "transform",
"type": "Transform3D"
},
{
"name": "rotation_mode",
"type": "enum::PathFollow3D.RotationMode"
}
]
} }
], ],
"properties": [ "properties": [
@ -144773,6 +144932,13 @@
"setter": "set_loop", "setter": "set_loop",
"getter": "has_loop", "getter": "has_loop",
"index": -1 "index": -1
},
{
"type": "bool",
"name": "tilt_enabled",
"setter": "set_tilt_enabled",
"getter": "is_tilt_enabled",
"index": -1
} }
] ]
}, },
@ -146251,7 +146417,7 @@
}, },
"arguments": [ "arguments": [
{ {
"name": "distance", "name": "motion",
"type": "Vector2" "type": "Vector2"
}, },
{ {
@ -146288,7 +146454,7 @@
"type": "Transform2D" "type": "Transform2D"
}, },
{ {
"name": "distance", "name": "motion",
"type": "Vector2" "type": "Vector2"
}, },
{ {
@ -146369,7 +146535,7 @@
}, },
"arguments": [ "arguments": [
{ {
"name": "distance", "name": "motion",
"type": "Vector3" "type": "Vector3"
}, },
{ {
@ -146412,7 +146578,7 @@
"type": "Transform3D" "type": "Transform3D"
}, },
{ {
"name": "distance", "name": "motion",
"type": "Vector3" "type": "Vector3"
}, },
{ {
@ -150801,7 +150967,7 @@
}, },
{ {
"name": "exclude", "name": "exclude",
"type": "Array", "type": "typedarray::RID",
"default_value": "[]" "default_value": "[]"
} }
] ]
@ -150893,7 +151059,7 @@
"arguments": [ "arguments": [
{ {
"name": "exclude", "name": "exclude",
"type": "Array" "type": "typedarray::RID"
} }
] ]
}, },
@ -150905,7 +151071,7 @@
"is_virtual": false, "is_virtual": false,
"hash": 3995934104, "hash": 3995934104,
"return_value": { "return_value": {
"type": "Array" "type": "typedarray::RID"
} }
}, },
{ {
@ -175065,26 +175231,6 @@
"inherits": "Object", "inherits": "Object",
"api_type": "core", "api_type": "core",
"constants": [ "constants": [
{
"name": "BARRIER_MASK_RASTER",
"value": 1
},
{
"name": "BARRIER_MASK_COMPUTE",
"value": 2
},
{
"name": "BARRIER_MASK_TRANSFER",
"value": 4
},
{
"name": "BARRIER_MASK_ALL",
"value": 7
},
{
"name": "BARRIER_MASK_NO_BARRIER",
"value": 8
},
{ {
"name": "INVALID_ID", "name": "INVALID_ID",
"value": -1 "value": -1
@ -176065,6 +176211,32 @@
} }
] ]
}, },
{
"name": "BarrierMask",
"is_bitfield": true,
"values": [
{
"name": "BARRIER_MASK_RASTER",
"value": 1
},
{
"name": "BARRIER_MASK_COMPUTE",
"value": 2
},
{
"name": "BARRIER_MASK_TRANSFER",
"value": 4
},
{
"name": "BARRIER_MASK_ALL_BARRIERS",
"value": 7
},
{
"name": "BARRIER_MASK_NO_BARRIER",
"value": 8
}
]
},
{ {
"name": "TextureType", "name": "TextureType",
"is_bitfield": false, "is_bitfield": false,
@ -177210,7 +177382,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 259041867, "hash": 2736912341,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -177230,8 +177402,7 @@
}, },
{ {
"name": "post_barrier", "name": "post_barrier",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -177320,7 +177491,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 4234145050, "hash": 3741367532,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -177367,8 +177538,7 @@
}, },
{ {
"name": "post_barrier", "name": "post_barrier",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -177379,7 +177549,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1993157964, "hash": 3423681478,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -177414,8 +177584,7 @@
}, },
{ {
"name": "post_barrier", "name": "post_barrier",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -177426,7 +177595,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1429823113, "hash": 2126834943,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -177441,8 +177610,7 @@
}, },
{ {
"name": "post_barrier", "name": "post_barrier",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -177736,7 +177904,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 130023918, "hash": 3137892244,
"return_value": { "return_value": {
"type": "RID" "type": "RID"
}, },
@ -177754,6 +177922,11 @@
{ {
"name": "src_buffers", "name": "src_buffers",
"type": "typedarray::RID" "type": "typedarray::RID"
},
{
"name": "offsets",
"type": "PackedInt64Array",
"default_value": "PackedInt64Array()"
} }
] ]
}, },
@ -178045,7 +178218,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 857091402, "hash": 652628289,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -178070,8 +178243,7 @@
}, },
{ {
"name": "post_barrier", "name": "post_barrier",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -178082,7 +178254,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3627474756, "hash": 1645170096,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -178103,8 +178275,7 @@
}, },
{ {
"name": "post_barrier", "name": "post_barrier",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -178674,12 +178845,11 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2829508664, "hash": 422991495,
"arguments": [ "arguments": [
{ {
"name": "post_barrier", "name": "post_barrier",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -178821,12 +178991,11 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2829508664, "hash": 422991495,
"arguments": [ "arguments": [
{ {
"name": "post_barrier", "name": "post_barrier",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -178991,18 +179160,16 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3979627413, "hash": 266666049,
"arguments": [ "arguments": [
{ {
"name": "from", "name": "from",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
}, },
{ {
"name": "to", "name": "to",
"type": "int", "type": "bitfield::RenderingDevice.BarrierMask",
"meta": "uint32",
"default_value": "7" "default_value": "7"
} }
] ]
@ -232805,7 +232972,7 @@
], ],
"methods": [ "methods": [
{ {
"name": "set_normal_texture", "name": "set_texture_normal",
"is_const": false, "is_const": false,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -232819,7 +232986,7 @@
] ]
}, },
{ {
"name": "set_pressed_texture", "name": "set_texture_pressed",
"is_const": false, "is_const": false,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -232833,7 +233000,7 @@
] ]
}, },
{ {
"name": "set_hover_texture", "name": "set_texture_hover",
"is_const": false, "is_const": false,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -232847,7 +233014,7 @@
] ]
}, },
{ {
"name": "set_disabled_texture", "name": "set_texture_disabled",
"is_const": false, "is_const": false,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -232861,7 +233028,7 @@
] ]
}, },
{ {
"name": "set_focused_texture", "name": "set_texture_focused",
"is_const": false, "is_const": false,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -232967,7 +233134,7 @@
} }
}, },
{ {
"name": "get_normal_texture", "name": "get_texture_normal",
"is_const": true, "is_const": true,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -232978,7 +233145,7 @@
} }
}, },
{ {
"name": "get_pressed_texture", "name": "get_texture_pressed",
"is_const": true, "is_const": true,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -232989,7 +233156,7 @@
} }
}, },
{ {
"name": "get_hover_texture", "name": "get_texture_hover",
"is_const": true, "is_const": true,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -233000,7 +233167,7 @@
} }
}, },
{ {
"name": "get_disabled_texture", "name": "get_texture_disabled",
"is_const": true, "is_const": true,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -233011,7 +233178,7 @@
} }
}, },
{ {
"name": "get_focused_texture", "name": "get_texture_focused",
"is_const": true, "is_const": true,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
@ -233059,36 +233226,36 @@
{ {
"type": "Texture2D", "type": "Texture2D",
"name": "texture_normal", "name": "texture_normal",
"setter": "set_normal_texture", "setter": "set_texture_normal",
"getter": "get_normal_texture", "getter": "get_texture_normal",
"index": -1 "index": -1
}, },
{ {
"type": "Texture2D", "type": "Texture2D",
"name": "texture_pressed", "name": "texture_pressed",
"setter": "set_pressed_texture", "setter": "set_texture_pressed",
"getter": "get_pressed_texture", "getter": "get_texture_pressed",
"index": -1 "index": -1
}, },
{ {
"type": "Texture2D", "type": "Texture2D",
"name": "texture_hover", "name": "texture_hover",
"setter": "set_hover_texture", "setter": "set_texture_hover",
"getter": "get_hover_texture", "getter": "get_texture_hover",
"index": -1 "index": -1
}, },
{ {
"type": "Texture2D", "type": "Texture2D",
"name": "texture_disabled", "name": "texture_disabled",
"setter": "set_disabled_texture", "setter": "set_texture_disabled",
"getter": "get_disabled_texture", "getter": "get_texture_disabled",
"index": -1 "index": -1
}, },
{ {
"type": "Texture2D", "type": "Texture2D",
"name": "texture_focused", "name": "texture_focused",
"setter": "set_focused_texture", "setter": "set_texture_focused",
"getter": "get_focused_texture", "getter": "get_texture_focused",
"index": -1 "index": -1
}, },
{ {
@ -247082,13 +247249,6 @@
} }
] ]
}, },
{
"name": "UniformSetCacheRD",
"is_refcounted": false,
"is_instantiable": false,
"inherits": "Object",
"api_type": "core"
},
{ {
"name": "VBoxContainer", "name": "VBoxContainer",
"is_refcounted": false, "is_refcounted": false,