diff options
| author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-07-31 15:39:46 +0200 |
|---|---|---|
| committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-05-03 01:18:35 +0200 |
| commit | 31194f5b1c84638267958c8efa9212f362e57ae0 (patch) | |
| tree | 5311467eadbbf00c1432910df46a1cc738539472 /drivers/vulkan/rendering_device_vulkan.h | |
| parent | 87622861106b4bb06040a603060bedc2835648ba (diff) | |
| download | redot-engine-31194f5b1c84638267958c8efa9212f362e57ae0.tar.gz | |
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.
Diffstat (limited to 'drivers/vulkan/rendering_device_vulkan.h')
| -rw-r--r-- | drivers/vulkan/rendering_device_vulkan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.h b/drivers/vulkan/rendering_device_vulkan.h index 219d48a9f5..236742c15d 100644 --- a/drivers/vulkan/rendering_device_vulkan.h +++ b/drivers/vulkan/rendering_device_vulkan.h @@ -1229,6 +1229,7 @@ public: virtual String get_device_vendor_name() const; virtual String get_device_name() const; virtual RenderingDevice::DeviceType get_device_type() const; + virtual String get_device_api_version() const; virtual String get_device_pipeline_cache_uuid() const; virtual uint64_t get_driver_resource(DriverResource p_resource, RID p_rid = RID(), uint64_t p_index = 0); |
