X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fod_gauge.hxx;h=7c4ee00edb5889976e4976f11e4a3f6ae2e64cfe;hb=7d547d128702a643c40b54809e2b4e1a38c4a16d;hp=13ae907519aa88fb31200fea4e318d2c07d4fbf5;hpb=8a6a2346539aa901e4f1301dba5331c40269188b;p=flightgear.git diff --git a/src/Instrumentation/od_gauge.hxx b/src/Instrumentation/od_gauge.hxx index 13ae90751..7c4ee00ed 100644 --- a/src/Instrumentation/od_gauge.hxx +++ b/src/Instrumentation/od_gauge.hxx @@ -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,