summaryrefslogtreecommitdiff
path: root/indra/newview/llsurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llsurface.h')
-rw-r--r--indra/newview/llsurface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llsurface.h b/indra/newview/llsurface.h
index a599019ca5..4bdb90b102 100644
--- a/indra/newview/llsurface.h
+++ b/indra/newview/llsurface.h
@@ -163,6 +163,12 @@ public:
F32 mDetailTextureScale; // Number of times to repeat detail texture across this surface
+ // Closest visible patch distance across all surfaces this frame
+ // (meters), or FLT_MAX if none visible. Drives BOOST_TERRAIN
+ // streaming - terrain has no faces registered with its texture.
+ static F32 sNearestVisiblePatchDistance;
+ static U32 sNearestVisiblePatchFrame;
+
private:
void createSTexture();
void initTextures();