From 31194f5b1c84638267958c8efa9212f362e57ae0 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 31 Jul 2021 15:39:46 +0200 Subject: Add `get_video_adapter_api_version()` to RenderingServer This method can be used to get the graphics API version currently in use (such as Vulkan). It can be used by projects for troubleshooting or statistical purposes. --- servers/rendering_server.h | 1 + 1 file changed, 1 insertion(+) (limited to 'servers/rendering_server.h') diff --git a/servers/rendering_server.h b/servers/rendering_server.h index 2db384f7df..d622571a47 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -1487,6 +1487,7 @@ public: virtual String get_video_adapter_name() const = 0; virtual String get_video_adapter_vendor() const = 0; virtual RenderingDevice::DeviceType get_video_adapter_type() const = 0; + virtual String get_video_adapter_api_version() const = 0; struct FrameProfileArea { String name; -- cgit v1.2.3