From ab94024ce17c96d54d34a66672db470e3b82bef4 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Thu, 16 Mar 2023 23:26:09 +0200 Subject: [DisplayServer] Implement screen_get_image method for LinuxBSD/X11, macOS and Windows. --- servers/display_server.h | 1 + 1 file changed, 1 insertion(+) (limited to 'servers/display_server.h') diff --git a/servers/display_server.h b/servers/display_server.h index fa37a694e6..de1b2b7b26 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -277,6 +277,7 @@ public: } virtual float screen_get_refresh_rate(int p_screen = SCREEN_OF_MAIN_WINDOW) const = 0; virtual Color screen_get_pixel(const Point2i &p_position) const { return Color(); }; + virtual Ref screen_get_image(int p_screen = SCREEN_OF_MAIN_WINDOW) const { return Ref(); }; virtual bool is_touchscreen_available() const; // Keep the ScreenOrientation enum values in sync with the `display/window/handheld/orientation` -- cgit v1.2.3