]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/util/SGSceneFeatures.hxx
simgear/scene/sky/sky.cxx: Include sg_inlines.h with simgear/ prefix as all other...
[simgear.git] / simgear / scene / util / SGSceneFeatures.hxx
index c38921e8cc222472c9f929fbc47a54ae0685f59a..9c954015f205085369c428c392854f3f7925e6a0 100644 (file)
@@ -70,8 +70,13 @@ public:
       return false;
     return getHaveShaderPrograms(contextId);
   }
+  
+  void setTextureFilter(int max) 
+  { _textureFilter = max; }
+  int getTextureFilter() const
+  { return _textureFilter; }
 
-protected:  
+protected:
   bool getHavePointSprites(unsigned contextId) const;
   bool getHaveFragmentPrograms(unsigned contextId) const;
   bool getHaveVertexPrograms(unsigned contextId) const;
@@ -87,6 +92,7 @@ private:
   bool _shaderLights;
   bool _pointSpriteLights;
   bool _distanceAttenuationLights;
+  int  _textureFilter;
 };
 
 #endif