diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-09-29 17:19:48 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-01-31 14:31:36 -0800 |
commit | 118996225bb588dcaef415dfe18f5e4aca9c35b8 (patch) | |
tree | 8685d290d59a5dddf3bf57ce2a8ab4f9fdcb5d7c /indra/newview/llsurface.h | |
parent | 00c65b62707f5c30cf2d48c0bd0c975c3bceb513 (diff) |
secondlife/viewer-issues#43: Proof-of-concept PBR terrain normal gen feature flag. Final implementation would likely be very different.
Diffstat (limited to 'indra/newview/llsurface.h')
-rw-r--r-- | indra/newview/llsurface.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llsurface.h b/indra/newview/llsurface.h index 33a64ae7d5..b7b47d2a1c 100644 --- a/indra/newview/llsurface.h +++ b/indra/newview/llsurface.h @@ -112,7 +112,8 @@ public: LLSurfacePatch *resolvePatchGlobal(const LLVector3d &position_global) const; // Update methods (called during idle, normally) - BOOL idleUpdate(F32 max_update_time); + template<bool PBR> + bool idleUpdate(F32 max_update_time); BOOL containsPosition(const LLVector3 &position); @@ -224,6 +225,9 @@ private: static S32 sTextureSize; // Size of the surface texture }; +extern template bool LLSurface::idleUpdate</*PBR=*/false>(F32 max_update_time); +extern template bool LLSurface::idleUpdate</*PBR=*/true>(F32 max_update_time); + // . __. |