diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-05-03 11:48:46 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-05-23 15:23:18 +0300 |
commit | 628c81d2d9a2cf05541a8d95dd99f6349aca851d (patch) | |
tree | f0063c0a9125e9a6a9562e572429e38efbbb2372 /servers/display_server.h | |
parent | b947c53ddc08d4314b2ce70ca1bc2adb37b83c37 (diff) | |
download | redot-engine-628c81d2d9a2cf05541a8d95dd99f6349aca851d.tar.gz |
[DisplayServer] Add method to check if window transparency is supported and enabled.
Diffstat (limited to 'servers/display_server.h')
-rw-r--r-- | servers/display_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/display_server.h b/servers/display_server.h index 9a9bb28a06..5224d59c04 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -580,6 +580,8 @@ public: virtual void set_context(Context p_context); + virtual bool is_window_transparency_available() const { return false; } + static void register_create_function(const char *p_name, CreateFunction p_function, GetRenderingDriversFunction p_get_drivers); static int get_create_function_count(); static const char *get_create_function_name(int p_index); |