Add VisualServer methods to get the video adapter name and vendor
These methods can be used in scripts to retrieve the OpenGL `GL_RENDERER` and `GL_VENDOR` strings (respectively). This closes #28404.
This commit is contained in:
@@ -742,6 +742,8 @@ public:
|
||||
int get_captured_render_info(VS::RenderInfo p_info) { return 0; }
|
||||
|
||||
int get_render_info(VS::RenderInfo p_info) { return 0; }
|
||||
String get_video_adapter_name() const { return String(); }
|
||||
String get_video_adapter_vendor() const { return String(); }
|
||||
|
||||
static RasterizerStorage *base_singleton;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user