mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[DisplayServer] Implement screen_get_image method for LinuxBSD/X11, macOS and Windows.
This commit is contained in:
parent
161d028ae8
commit
ab94024ce1
9 changed files with 232 additions and 4 deletions
|
@ -335,6 +335,7 @@ public:
|
|||
virtual Rect2i screen_get_usable_rect(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
|
||||
virtual float screen_get_refresh_rate(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
|
||||
virtual Color screen_get_pixel(const Point2i &p_position) const override;
|
||||
virtual Ref<Image> screen_get_image(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
|
||||
virtual void screen_set_keep_on(bool p_enable) override;
|
||||
virtual bool screen_is_kept_on() const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue