diff options
author | Dave Parks <davep@lindenlab.com> | 2022-06-10 01:13:41 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-06-10 01:13:41 -0500 |
commit | 509476f95ed75ce8289ecd69b4c94d9912e1d3df (patch) | |
tree | fe24ef1046fef41e9e9c5ca8a8c9ef8fdc79bfe3 /indra/newview/llreflectionmapmanager.h | |
parent | 03d85bfb33f53e658256d8bedcf0b4262226cf90 (diff) |
SL-17574 Add probe detail combo box to advanced graphics preferences. Fix spot light shadows not working in probes.
Diffstat (limited to 'indra/newview/llreflectionmapmanager.h')
-rw-r--r-- | indra/newview/llreflectionmapmanager.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmapmanager.h b/indra/newview/llreflectionmapmanager.h index bf963f3486..3b5cdc5520 100644 --- a/indra/newview/llreflectionmapmanager.h +++ b/indra/newview/llreflectionmapmanager.h @@ -46,6 +46,13 @@ class alignas(16) LLReflectionMapManager { LL_ALIGN_NEW public: + enum class DetailLevel + { + STATIC_ONLY = 0, + STATIC_AND_DYNAMIC, + REALTIME = 2 + }; + // allocate an environment map of the given resolution LLReflectionMapManager(); @@ -115,6 +122,9 @@ private: // perform an update on the currently updating Probe void doProbeUpdate(); + + // update the specified face of the specified probe + void updateProbeFace(LLReflectionMap* probe, U32 face); // list of active reflection maps std::vector<LLPointer<LLReflectionMap> > mProbes; @@ -133,6 +143,5 @@ private: LLReflectionMap* mUpdatingProbe = nullptr; U32 mUpdatingFace = 0; - }; |