LeviLamina
Loading...
Searching...
No Matches
PointLighting::PointLightCoordinator Class Reference

Public Types

using UpdatePhase

Public Member Functions

MCAPI ::std::optional<::std::variant< ::PointLighting::UpdatePhases::Idle, ::PointLighting::UpdatePhases::ScoreCompute, ::PointLighting::UpdatePhases::ScoreApply, ::PointLighting::UpdatePhases::TierReconcile, ::PointLighting::UpdatePhases::ClearHeuristics > > _changePhase (::PointLighting::UpdatePhases::ScoreCompute &phase)
MCAPI void _clearHeuristics ()
MCAPI void _computeCurrentLightScores (::PointLighting::UpdatePhases::ScoreCompute &phase, ::mce::framebuilder::PointLightParameters const &params) const
MCAPI ::std::optional<::mce::PointLightParameters_createPointLightFromBlock (::Block const &block, ::BlockPos const &blockPos) const
MCAPI void _releaseAllResources (::BlockPos const &blockPos, ::PointLighting::ManagedPointLight &pointLight)
MCAPI void _update (::PointLighting::UpdatePhases::ScoreApply &phase, ::mce::framebuilder::PointLightParameters const &)
MCAPI void applyBlockQueue (::std::vector<::BlockQueueEntry > const &queue)
MCAPI void clear ()
MCAPI ::std::vector<::mce::AnalyticalLightgetAnalyticalLights () const
MCAPI void onBlockChanged (::BlockPos const &blockPos, ::Block const &block, ::Block const &oldBlock)
MCAPI void update (::std::optional<::Bounds > const &viewBounds, bool pointLightsEnabled, ::mce::framebuilder::PointLightParameters const &params)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI bool isPointLightCandidate (::Block const &block, ::RuntimeLocalLightingConfig const &lightConfig)

Public Attributes

::ll::TypedStorage< 8, 72, ::LightContainer<::PointLighting::ManagedPointLight > > mLightContainer
::ll::TypedStorage< 1, 1, bool const > mLightLODsEnabled
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::PointLighting::ICandidacyHeuristic > > > mLightHeuristics
::ll::TypedStorage< 4, 4, int > mFramesSinceLastUpdate
::ll::TypedStorage< 8, 568, ::PointLighting::TieredLightScores<::PointLighting::PointLightTieredScoresPolicies > > mTieredScores
::ll::TypedStorage< 1, 1, bool > mRefreshLightScores
::ll::TypedStorage< 8, 48, ::PointLighting::LightLODResourceManagermLODResourceManager
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::RuntimeLocalLightingConfig const > > mLightingConfig
::ll::TypedStorage< 8, 728, ::std::variant< ::PointLighting::UpdatePhases::Idle, ::PointLighting::UpdatePhases::ScoreCompute, ::PointLighting::UpdatePhases::ScoreApply, ::PointLighting::UpdatePhases::TierReconcile, ::PointLighting::UpdatePhases::ClearHeuristics > > mCurrentPhase

Member Typedef Documentation

◆ UpdatePhase


The documentation for this class was generated from the following files: