diff options
Diffstat (limited to 'tools/gfx/render.h')
| -rw-r--r-- | tools/gfx/render.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gfx/render.h b/tools/gfx/render.h index b91fb513f..775e71613 100644 --- a/tools/gfx/render.h +++ b/tools/gfx/render.h @@ -785,6 +785,9 @@ public: virtual SlangResult initialize(const Desc& desc, void* inWindowHandle) = 0; + bool hasFeature(const Slang::UnownedStringSlice& feature) { return getFeatures().IndexOf(Slang::String(feature)) != UInt(-1); } + virtual const Slang::List<Slang::String>& getFeatures() = 0; + virtual void setClearColor(const float color[4]) = 0; virtual void clearFrame() = 0; |
