summaryrefslogtreecommitdiffstats
path: root/core/core_bind.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/core_bind.h')
-rw-r--r--core/core_bind.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/core/core_bind.h b/core/core_bind.h
index b142a2fbbd..e953483391 100644
--- a/core/core_bind.h
+++ b/core/core_bind.h
@@ -132,6 +132,7 @@ public:
RENDERING_DRIVER_VULKAN,
RENDERING_DRIVER_OPENGL3,
RENDERING_DRIVER_D3D12,
+ RENDERING_DRIVER_METAL,
};
PackedByteArray get_entropy(int p_bytes);
@@ -389,12 +390,17 @@ class Semaphore : public RefCounted {
GDCLASS(Semaphore, RefCounted);
::Semaphore semaphore;
+protected:
static void _bind_methods();
+#ifndef DISABLE_DEPRECATED
+ void _post_bind_compat_93605();
+ static void _bind_compatibility_methods();
+#endif // DISABLE_DEPRECATED
public:
void wait();
bool try_wait();
- void post();
+ void post(int p_count = 1);
};
class Thread : public RefCounted {
@@ -447,6 +453,8 @@ public:
TypedArray<Dictionary> class_get_signal_list(const StringName &p_class, bool p_no_inheritance = false) const;
TypedArray<Dictionary> class_get_property_list(const StringName &p_class, bool p_no_inheritance = false) const;
+ StringName class_get_property_getter(const StringName &p_class, const StringName &p_property);
+ StringName class_get_property_setter(const StringName &p_class, const StringName &p_property);
Variant class_get_property(Object *p_object, const StringName &p_property) const;
Error class_set_property(Object *p_object, const StringName &p_property, const Variant &p_value) const;
@@ -457,6 +465,7 @@ public:
int class_get_method_argument_count(const StringName &p_class, const StringName &p_method, bool p_no_inheritance = false) const;
TypedArray<Dictionary> class_get_method_list(const StringName &p_class, bool p_no_inheritance = false) const;
+ Variant class_call_static_method(const Variant **p_arguments, int p_argcount, Callable::CallError &r_call_error);
PackedStringArray class_get_integer_constant_list(const StringName &p_class, bool p_no_inheritance = false) const;
bool class_has_integer_constant(const StringName &p_class, const StringName &p_name) const;