Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PointLighting::PointLightCoordinator Class Reference

Classes

struct  UpdateParameters

Public Types

using UpdatePhase

Public Member Functions

MCAPI PointLightCoordinator (bool lightLODsEnabled, ::std::weak_ptr<::RuntimeLocalLightingConfig const > lightingConfig)
MCAPI ::std::optional<::mce::PointLightParameters > _createPointLightFromBlock (::Block const &block, ::BlockPos const &blockPos) const
MCAPI void _releaseAllResources (::BlockPos const &blockPos, ::PointLighting::ManagedPointLight &pointLight)
MCAPI void applyBlockQueue (::SubChunkPos const &subChunkPos, ::std::vector<::BlockQueueEntry > const &queue)
MCAPI void clear ()
MCAPI ::std::vector<::mce::AnalyticalLight > getAnalyticalLights () const
MCAPI void reset (::BlockSource const &region)
MCAPI void update (::std::optional<::Bounds > const &viewBounds, bool pointLightsEnabled, ::mce::framebuilder::PointLightBudgetParameters const &params, ::glm::vec3 const &cameraPos, ::glm::vec3 const &cameraForward, ::FrustumCuller const &frustumCuller)
MCAPI ~PointLightCoordinator ()
MCAPI void * $ctor (bool lightLODsEnabled, ::std::weak_ptr<::RuntimeLocalLightingConfig const > lightingConfig)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 72, ::LightContainer<::PointLighting::ManagedPointLight > > mLightContainer
::ll::TypedStorage< 1, 1, bool const > mLightLODsEnabled
::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::LightLODResourceManager > mLODResourceManager
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::RuntimeLocalLightingConfig const > > mLightingConfig
::ll::TypedStorage< 8, 304, ::std::variant< ::PointLighting::UpdatePhases::Idle, ::PointLighting::UpdatePhases::ScoreCompute, ::PointLighting::UpdatePhases::ScoreApply, ::PointLighting::UpdatePhases::TierReconcile > > mCurrentPhase

Member Typedef Documentation

◆ UpdatePhase

Constructor & Destructor Documentation

◆ PointLightCoordinator()

MCAPI PointLighting::PointLightCoordinator::PointLightCoordinator ( bool lightLODsEnabled,
::std::weak_ptr<::RuntimeLocalLightingConfig const > lightingConfig )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ~PointLightCoordinator()

MCAPI PointLighting::PointLightCoordinator::~PointLightCoordinator ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _createPointLightFromBlock()

MCAPI ::std::optional<::mce::PointLightParameters > PointLighting::PointLightCoordinator::_createPointLightFromBlock ( ::Block const & block,
::BlockPos const & blockPos ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _releaseAllResources()

MCAPI void PointLighting::PointLightCoordinator::_releaseAllResources ( ::BlockPos const & blockPos,
::PointLighting::ManagedPointLight & pointLight )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ applyBlockQueue()

MCAPI void PointLighting::PointLightCoordinator::applyBlockQueue ( ::SubChunkPos const & subChunkPos,
::std::vector<::BlockQueueEntry > const & queue )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ clear()

MCAPI void PointLighting::PointLightCoordinator::clear ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getAnalyticalLights()

MCAPI ::std::vector<::mce::AnalyticalLight > PointLighting::PointLightCoordinator::getAnalyticalLights ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ reset()

MCAPI void PointLighting::PointLightCoordinator::reset ( ::BlockSource const & region)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ update()

MCAPI void PointLighting::PointLightCoordinator::update ( ::std::optional<::Bounds > const & viewBounds,
bool pointLightsEnabled,
::mce::framebuilder::PointLightBudgetParameters const & params,
::glm::vec3 const & cameraPos,
::glm::vec3 const & cameraForward,
::FrustumCuller const & frustumCuller )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * PointLighting::PointLightCoordinator::$ctor ( bool lightLODsEnabled,
::std::weak_ptr<::RuntimeLocalLightingConfig const > lightingConfig )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void PointLighting::PointLightCoordinator::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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