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 &) const
virtual void reserve (::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 &, ::PointLighting::AnalyticLightResources &)
virtual void finalize (::BlockPos const &, ::PointLighting::AnalyticLightResources &)
MCAPI void _allocateProbeTile (::PointLighting::PointLightShadowProbe &probe, ::dragon::rendering::TextureCubeFace face, ushort dimension)
MCAPI void _invalidateProbeTile (::PointLighting::PointLightShadowProbe &probe, ::dragon::rendering::TextureCubeFace face)
MCAPI bool _isProbeRendered (::PointLighting::PointLightShadowProbe const &probe) const
MCAPI void _processProbes (::mce::framebuilder::PointLightParameters const &pointLightParameters, ::glm::vec3 const &worldOrigin, ::FrustumCuller const &frustumCuller, ::glm::vec3 const &cameraForward)
MCAPI void _reconfigureAtlasIfNeeded (::mce::framebuilder::PointLightParameters const &pointLightParameters)
MCAPI bool _resizeProbeFace (::PointLighting::PointLightShadowProbe &probe, ::dragon::rendering::TextureCubeFace face, ushort targetDim, uint64 nowMs)
MCAPI::mce::framebuilder::ShadowAtlasFrameDescription getShadowFrameData (::mce::framebuilder::PointLightParameters const &pointLightParameters)
MCAPI void onBlockChanged (::BlockSource &source, ::BlockPos const &blockPos, ::Block const &block, ::Block const &oldBlock, ::mce::framebuilder::PointLightParameters const &pointLightParameters)
MCAPI ::std::vector<::mce::framebuilder::ActiveShadowTileInfoprepareActiveTiles (::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::PointLightShadowBatchProcessormBatchProcessor
::ll::TypedStorage< 1, 1, ::PointLighting::PointLightShadowAtlasHysteresismAtlasHysteresis
::ll::TypedStorage< 4, 8, ::PointLighting::PointLightShadowProbeManager::AtlasPressureStatemAtlasState
::ll::TypedStorage< 8, 136, ::mce::framebuilder::PointLightParametersmLastParameters
::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::ProbeDebugStatsmLastFrameStats

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