From 79433a13ce1e8661f599991f58fe19776c60f105 Mon Sep 17 00:00:00 2001 From: cread Date: Mon, 19 Aug 2024 14:02:29 -0700 Subject: [PATCH] make previously protected members available again. --- OgreMain/include/OgreSceneManager.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/OgreMain/include/OgreSceneManager.h b/OgreMain/include/OgreSceneManager.h index 76d633e98ef..e0ba7d2ef3c 100644 --- a/OgreMain/include/OgreSceneManager.h +++ b/OgreMain/include/OgreSceneManager.h @@ -699,10 +699,14 @@ namespace Ogre { void firePreUpdateSceneGraph(Camera* camera); /// Internal method for firing post update scene graph event void firePostUpdateSceneGraph(Camera* camera); + + protected: /// Internal method for firing find visible objects event void firePreFindVisibleObjects(Viewport* v); /// Internal method for firing find visible objects event void firePostFindVisibleObjects(Viewport* v); + + private: /// Internal method for firing destruction event void fireSceneManagerDestroyed(); @@ -742,9 +746,13 @@ namespace Ogre { /** Flag that indicates if all of the scene node's bounding boxes should be shown as a wireframe. */ bool mShowBoundingBoxes; + protected: + /// Utility class for calculating automatic parameters for gpu programs std::unique_ptr mAutoParamDataSource; + private: + GpuProgramParametersPtr mFixedFunctionParams; CompositorChain* mActiveCompositorChain; @@ -761,6 +769,8 @@ namespace Ogre { void _destroySceneNode(SceneNodeList::iterator it); + protected: + struct _OgreExport ShadowRenderer { typedef std::vector CameraList; @@ -954,6 +964,8 @@ namespace Ogre { void sortLightsAffectingFrustum(LightList& lightList) const; } mShadowRenderer; + private: + /// Struct for caching light clipping information for re-use in a frame struct LightClippingInfo {