]> git.tdb.fi Git - libs/vr.git/blobdiff - source/stereocombiner.h
Add query functions for whether certain features are supported
[libs/vr.git] / source / stereocombiner.h
index 2cfe3eb1f5255f30d6104aacd6c1d734700488da..88f979caeee1c8ce35190cdcf1f7ea186cdb72e7 100644 (file)
@@ -53,7 +53,9 @@ public:
        const Geometry::Angle<float> &get_field_of_view() const { return fov; }
        float get_frustum_skew() const { return frustum_skew; }
 
+       virtual bool is_mirroring_supported() const { return false; }
        void set_mirroring(bool);
+       bool get_mirroring() const { return mirror; }
 
        virtual void prepare() const { }
        virtual void render(const GL::Texture2D &, const GL::Texture2D &) const = 0;