You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add context getter to RenderingDevice
This commit is contained in:
@@ -797,6 +797,8 @@ private:
|
||||
#endif
|
||||
|
||||
public:
|
||||
RenderingContextDriver *get_context_driver() const { return context; }
|
||||
|
||||
const RDD::Capabilities &get_device_capabilities() const { return driver->get_capabilities(); }
|
||||
|
||||
bool has_feature(const Features p_feature) const;
|
||||
|
||||
Reference in New Issue
Block a user