Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PointLighting::StaticLightTransitionManager Class Reference
Inheritance diagram for PointLighting::StaticLightTransitionManager:

Classes

struct  PropagationResult
struct  PendingTask
struct  InFlightTaskGuard

Public Member Functions

virtual bool atCapacity () const
virtual bool canReserve (::BlockPos const &) const
virtual void beginTransition (::BlockPos const &, ::mce::PointLightParameters const &, float const, ::PointLighting::BakedLightResources &)
virtual bool acquired (::BlockPos const &, ::mce::PointLightParameters const &, ::PointLighting::BakedLightResources &) const
virtual void advance (::BlockPos const &, ::PointLighting::BakedLightResources &, float)
virtual void refresh (::BlockPos const &, ::mce::PointLightParameters const &, ::PointLighting::BakedLightResources &)
virtual void finalize (::BlockPos const &, ::PointLighting::BakedLightResources &)
virtual void release (::BlockPos const &, ::PointLighting::BakedLightResources &)
MCAPI void _advanceGroup (::PointLighting::Detail::ColorGroup &group, short groupIndex, float transitionStepSize)
MCAPI bool _asyncResourcesSaturated () const
MCAPI void _clearStaleCells (::PointLighting::Detail::ColorGroup &group, short groupIndex)
MCAPI void _commitPropagationResults ()
MCAPI void _flushStagedStep (::PointLighting::Detail::ColorGroup &group, short groupIndex)
MCAPI void _spawnPendingTasks (::TaskGroup &taskGroup, ::ChunkSource &chunkSource, ::std::shared_ptr<::LightPropagation::LightPropagationCoordinator > lightPropagationCoordinator)
MCAPI void _writeVolume (::std::unique_ptr<::LightPropagation::LightAccumulationVolume const > volumePtr, ::SubChunkPos pos, short layer)
MCAPI ::std::optional<::mce::framebuilder::TransitioningVoxelVolumeDescription > getVoxelVolumeBuffers (::mce::CheckedResourceService<::dragon::ResolvedShaderBufferResource > *bufferResourceService)
MCAPI void processPropagationTasks (::TaskGroup &taskGroup, ::ChunkSource &chunkSource, ::std::shared_ptr<::LightPropagation::LightPropagationCoordinator > lightPropagationCoordinator, ::mce::framebuilder::PointLightBudgetParameters const &pointLightParameters)
MCAPI void reset ()
MCAPI void resetLightingConfig (::std::weak_ptr<::RuntimeLocalLightingConfig const > localLightConfig)

Public Attributes

::ll::TypedStorage< 4, 4, ::std::atomic< int > > mInFlightTasksCount
::ll::TypedStorage< 4, 4, int > mMaxInFlightTasks
::ll::TypedStorage< 4, 4, int > mMaxCommitsPerFrame
::ll::TypedStorage< 8, 8, uint64 > mMaxStagedResults
::ll::TypedStorage< 8, 8, uint64 > mMaxPendingTransitionTasks
::ll::TypedStorage< 8, 8, uint64 > mMaxTransitionVolumeCount
::ll::TypedStorage< 8, 80, ::std::mutex > mResultQueueMutex
::ll::TypedStorage< 8, 40, ::std::queue< ::PointLighting::StaticLightTransitionManager::PropagationResult, ::std::deque<::PointLighting::StaticLightTransitionManager::PropagationResult > > > mResultQueue
::ll::TypedStorage< 8, 16, ::std::map< short, ::std::queue< ::PointLighting::StaticLightTransitionManager::PendingTask, ::std::deque<::PointLighting::StaticLightTransitionManager::PendingTask > > > > mPendingTasksByGroup
::ll::TypedStorage< 8, 16, ::std::map< short, ::std::vector<::PointLighting::StaticLightTransitionManager::PropagationResult > > > mStagedResults
::ll::TypedStorage< 2, 2, short > mSpawnCursor
::ll::TypedStorage< 8, 88, ::PointLighting::Detail::ColorGroupTable > mColorGroups
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::mce::VoxelLightingBuffer<::mce::DefaultVoxelBufferTraits > > > mVoxelLightingBuffer
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::LightPropagation::VoxelVolumeBuffersHandler > > mVoxelVolumeBuffersHandler

Member Function Documentation

◆ _advanceGroup()

MCAPI void PointLighting::StaticLightTransitionManager::_advanceGroup ( ::PointLighting::Detail::ColorGroup & group,
short groupIndex,
float transitionStepSize )
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.

◆ _asyncResourcesSaturated()

MCAPI bool PointLighting::StaticLightTransitionManager::_asyncResourcesSaturated ( ) 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.

◆ _clearStaleCells()

MCAPI void PointLighting::StaticLightTransitionManager::_clearStaleCells ( ::PointLighting::Detail::ColorGroup & group,
short groupIndex )
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.

◆ _commitPropagationResults()

MCAPI void PointLighting::StaticLightTransitionManager::_commitPropagationResults ( )
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.

◆ _flushStagedStep()

MCAPI void PointLighting::StaticLightTransitionManager::_flushStagedStep ( ::PointLighting::Detail::ColorGroup & group,
short groupIndex )
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.

◆ _spawnPendingTasks()

MCAPI void PointLighting::StaticLightTransitionManager::_spawnPendingTasks ( ::TaskGroup & taskGroup,
::ChunkSource & chunkSource,
::std::shared_ptr<::LightPropagation::LightPropagationCoordinator > lightPropagationCoordinator )
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.

◆ _writeVolume()

MCAPI void PointLighting::StaticLightTransitionManager::_writeVolume ( ::std::unique_ptr<::LightPropagation::LightAccumulationVolume const > volumePtr,
::SubChunkPos pos,
short layer )
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.

◆ getVoxelVolumeBuffers()

MCAPI ::std::optional<::mce::framebuilder::TransitioningVoxelVolumeDescription > PointLighting::StaticLightTransitionManager::getVoxelVolumeBuffers ( ::mce::CheckedResourceService<::dragon::ResolvedShaderBufferResource > * bufferResourceService)
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.

◆ processPropagationTasks()

MCAPI void PointLighting::StaticLightTransitionManager::processPropagationTasks ( ::TaskGroup & taskGroup,
::ChunkSource & chunkSource,
::std::shared_ptr<::LightPropagation::LightPropagationCoordinator > lightPropagationCoordinator,
::mce::framebuilder::PointLightBudgetParameters const & pointLightParameters )
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::StaticLightTransitionManager::reset ( )
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.

◆ resetLightingConfig()

MCAPI void PointLighting::StaticLightTransitionManager::resetLightingConfig ( ::std::weak_ptr<::RuntimeLocalLightingConfig const > localLightConfig)
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: