]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/od_gauge.hxx
Make traffic take-off roll look a little better.
[flightgear.git] / src / Instrumentation / od_gauge.hxx
index 13ae907519aa88fb31200fea4e318d2c07d4fbf5..7c4ee00edb5889976e4976f11e4a3f6ae2e64cfe 100644 (file)
@@ -98,6 +98,12 @@ class FGODGauge
                       int coverage_samples = 0,
                       int color_samples = 0 );
 
+    /**
+     * Enable/Disable updating the texture (If disabled the contents of the
+     * texture remains with the outcome of the last rendering pass)
+     */
+    void setRender(bool render);
+
     /**
      * Say if we can render to a texture.
      * @return true if rtt is available
@@ -145,7 +151,7 @@ class FGODGauge
     // Real initialization function. Bad name.
     void allocRT(osg::NodeCallback* camera_cull_callback = 0);
 
-private:
+  private:
     int _size_x,
         _size_y,
         _view_width,