Merge pull request #92045 from RandomShaper/context_getter

Add context getter to RenderingDevice
This commit is contained in:
Rémi Verschelde 2024-05-18 17:41:38 +02:00
commit 6aece8e1b6
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

View File

@ -797,6 +797,8 @@ private:
#endif #endif
public: public:
RenderingContextDriver *get_context_driver() const { return context; }
const RDD::Capabilities &get_device_capabilities() const { return driver->get_capabilities(); } const RDD::Capabilities &get_device_capabilities() const { return driver->get_capabilities(); }
bool has_feature(const Features p_feature) const; bool has_feature(const Features p_feature) const;