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

Classes

struct  ProbeDebugStats
struct  AtlasPressureState

Public Types

using ShadowProbeIndex = int
using ProbeMap = ::std::unordered_map<::BlockPos, ::PointLighting::PointLightShadowProbe>

Public Member Functions

virtual bool atCapacity () const
virtual bool canReserve (::BlockPos const &) const
virtual bool acquired (::BlockPos const &, ::mce::PointLightParameters const &, ::PointLighting::AnalyticLightResources &) const
virtual void beginTransition (::BlockPos const &, ::mce::PointLightParameters const &, float const, ::PointLighting::AnalyticLightResources &)
virtual void release (::BlockPos const &, ::PointLighting::AnalyticLightResources &)
virtual void advance (::BlockPos const &, ::PointLighting::AnalyticLightResources &, float)
virtual void refresh (::BlockPos const &, ::mce::PointLightParameters const &, ::PointLighting::AnalyticLightResources &)
virtual void finalize (::BlockPos const &, ::PointLighting::AnalyticLightResources &)
MCAPI void _allocateProbeTile (::PointLighting::PointLightShadowProbe &probe, ::dragon::rendering::TextureCubeFace face, ushort dimension)
MCAPI void _freeProbeTiles (::PointLighting::PointLightShadowProbe &probe)
MCAPI void _invalidateProbeTile (::PointLighting::PointLightShadowProbe &probe, ::dragon::rendering::TextureCubeFace face)
MCAPI bool _isProbeRendered (::PointLighting::PointLightShadowProbe const &probe) const
MCAPI void _processProbes (::mce::framebuilder::PointLightShadowParameters const &pointLightParameters, ::glm::vec3 const &worldOrigin, ::FrustumCuller const &frustumCuller, ::glm::vec3 const &cameraForward)
MCAPI void _reconfigureAtlasIfNeeded (::mce::framebuilder::PointLightShadowParameters const &pointLightParameters)
MCAPI bool _resizeProbeFace (::PointLighting::PointLightShadowProbe &probe, ::dragon::rendering::TextureCubeFace face, ushort targetDim, uint64 nowMs)
MCAPI::mce::framebuilder::ShadowAtlasFrameDescription getShadowFrameData (::mce::framebuilder::PointLightShadowParameters const &pointLightParameters)
MCAPI void onBlockChanged (::BlockSource &source, ::BlockPos const &blockPos, ::Block const &block, ::Block const &oldBlock, ::mce::framebuilder::PointLightShadowParameters const &pointLightParameters)
MCAPI ::std::vector<::mce::framebuilder::ActiveShadowTileInfo > prepareActiveTiles (::glm::vec3 const &worldOrigin)

Public Attributes

::ll::TypedStorage< 8, 16, ::std::weak_ptr<::dragon::atlas::IAtlasUserOperations > > mAtlasOps
::ll::TypedStorage< 8, 64, ::std::unordered_map<::BlockPos, ::PointLighting::PointLightShadowProbe > > mActiveProbes
::ll::TypedStorage< 8, 8, ::std::_List_const_iterator<::std::_List_val< ::std::_List_simple_types<::std::pair<::BlockPos const, ::PointLighting::PointLightShadowProbe > > > > > mNextToQueue
::ll::TypedStorage< 8, 88, ::PointLighting::PointLightShadowBatchProcessor > mBatchProcessor
::ll::TypedStorage< 1, 1, ::PointLighting::PointLightShadowAtlasHysteresis > mAtlasHysteresis
::ll::TypedStorage< 4, 8, ::PointLighting::PointLightShadowProbeManager::AtlasPressureState > mAtlasState
::ll::TypedStorage< 8, 144, ::mce::framebuilder::PointLightShadowParameters > mLastParameters
::ll::TypedStorage< 4, 4, int > mLastMaxPointLights
::ll::TypedStorage< 8, 24, ::std::vector<::AABB > > mBlockRegionChanges
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::dragon::atlas::IAtlasHandle > > mShadowAtlas
::ll::TypedStorage< 8, 40, ::PointLighting::PointLightShadowProbeManager::ProbeDebugStats > mLastFrameStats

Member Function Documentation

◆ _allocateProbeTile()

MCAPI void PointLighting::PointLightShadowProbeManager::_allocateProbeTile ( ::PointLighting::PointLightShadowProbe & probe,
::dragon::rendering::TextureCubeFace face,
ushort dimension )
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.

◆ _freeProbeTiles()

MCAPI void PointLighting::PointLightShadowProbeManager::_freeProbeTiles ( ::PointLighting::PointLightShadowProbe & probe)
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.

◆ _invalidateProbeTile()

MCAPI void PointLighting::PointLightShadowProbeManager::_invalidateProbeTile ( ::PointLighting::PointLightShadowProbe & probe,
::dragon::rendering::TextureCubeFace face )
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.

◆ _isProbeRendered()

MCAPI bool PointLighting::PointLightShadowProbeManager::_isProbeRendered ( ::PointLighting::PointLightShadowProbe const & probe) 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.

◆ _processProbes()

MCAPI void PointLighting::PointLightShadowProbeManager::_processProbes ( ::mce::framebuilder::PointLightShadowParameters const & pointLightParameters,
::glm::vec3 const & worldOrigin,
::FrustumCuller const & frustumCuller,
::glm::vec3 const & cameraForward )
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.

◆ _reconfigureAtlasIfNeeded()

MCAPI void PointLighting::PointLightShadowProbeManager::_reconfigureAtlasIfNeeded ( ::mce::framebuilder::PointLightShadowParameters 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.

◆ _resizeProbeFace()

MCAPI bool PointLighting::PointLightShadowProbeManager::_resizeProbeFace ( ::PointLighting::PointLightShadowProbe & probe,
::dragon::rendering::TextureCubeFace face,
ushort targetDim,
uint64 nowMs )
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.

◆ getShadowFrameData()

MCAPI::mce::framebuilder::ShadowAtlasFrameDescription PointLighting::PointLightShadowProbeManager::getShadowFrameData ( ::mce::framebuilder::PointLightShadowParameters 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.

◆ onBlockChanged()

MCAPI void PointLighting::PointLightShadowProbeManager::onBlockChanged ( ::BlockSource & source,
::BlockPos const & blockPos,
::Block const & block,
::Block const & oldBlock,
::mce::framebuilder::PointLightShadowParameters 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.

◆ prepareActiveTiles()

MCAPI ::std::vector<::mce::framebuilder::ActiveShadowTileInfo > PointLighting::PointLightShadowProbeManager::prepareActiveTiles ( ::glm::vec3 const & worldOrigin)
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: