You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Expose disable_render_loop property to GDScript
This commit is contained in:
@@ -47,6 +47,7 @@ class RenderingServer : public Object {
|
||||
static RenderingServer *singleton;
|
||||
|
||||
int mm_policy;
|
||||
bool render_loop_enabled = true;
|
||||
|
||||
void _camera_set_orthogonal(RID p_camera, float p_size, float p_z_near, float p_z_far);
|
||||
void _canvas_item_add_style_box(RID p_item, const Rect2 &p_rect, const Rect2 &p_source, RID p_texture, const Vector<float> &p_margins, const Color &p_modulate = Color(1, 1, 1));
|
||||
@@ -1229,6 +1230,9 @@ public:
|
||||
|
||||
virtual bool is_low_end() const = 0;
|
||||
|
||||
bool is_render_loop_enabled() const;
|
||||
void set_render_loop_enabled(bool p_enabled);
|
||||
|
||||
RenderingServer();
|
||||
virtual ~RenderingServer();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user