LeviLamina
Loading...
Searching...
No Matches
LevelRenderer Class Reference
Inheritance diagram for LevelRenderer:

Public Member Functions

LevelRendereroperator= (LevelRenderer const &)
 LevelRenderer (LevelRenderer const &)
virtual void onAppSuspended ()
virtual void onAppResumed ()
virtual void onDeviceLost ()
virtual void onLowMemory (::LowMemorySeverity)
virtual void onBlockChanged (::BlockSource &source, ::BlockPos const &blockPosition, uint layer, ::Block const &block, ::Block const &oldBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangedEventTarget eventTarget, ::Actor *blockChangeSource)
virtual void onChunkUnloaded (::LevelChunk &levelChunk)
virtual void takePicture (::cg::ImageBuffer &outImage, ::Actor *camera, ::Actor *target, ::ScreenshotOptions &screenshotOptions, ::std::function< void(::cg::ImageBuffer &, ::ScreenshotOptions &)> completedScreenshotCallback)
MCAPI LevelRenderer (::IClientInstance &clientInstance, ::MultiPlayerLevel &level, ::std::shared_ptr<::Options > options, ::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > const &terrainTexture, ::WeakEntityRef localUser, ::GameRenderer &gameRenderer, ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface > const &soundPlayer, ::Bedrock::NotNullNonOwnerPtr<::GeometryGroup > const &geometryGroup, ::SoundMapping const &sounds, ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup const > const &actorResourceDefinitionGroup, ::Bedrock::NotNullNonOwnerPtr<::TextureShiftManager const > &textureShiftManager)
MCAPI void _createMeshes (::Tessellator &tessellator)
MCAPI void _createParticleEngines ()
MCAPI void _debugDrawClientSideChunkGenBlockDifferences ()
MCAPI void _initPipelineTessellatorResources (::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > textureAtlas, ::Bedrock::NotNullNonOwnerPtr<::TextureShiftManager const > textureShiftManager)
MCAPI void _initResources ()
MCAPI void _resetMeshes ()
MCAPI void _setLevelRendererCameras ()
MCAPI void frameUpdate (::ClientFrameUpdateContext &clientFrameUpdateContext)
MCAPI::BlockTessellator & getBlockRenderer ()
MCAPI ::StackRefResult<::RenderChunkCoordinatorgetRenderChunkCoordinator (::DimensionType dimID)
MCAPI void onDimensionChanged ()
MCAPI void onOptionsChanged ()
MCAPI void preRenderUpdate (::ScreenContext &screenContext, ::LevelRenderPreRenderUpdateParameters &levelRenderPreRenderUpdateParameters)
MCAPI void rebuildAllDDRv2Geometry ()
MCAPI void reinit (::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > const &terrainTexture, ::Bedrock::NotNullNonOwnerPtr<::GeometryGroup > const &geometryGroup, ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup const > const &actorResourceDefinitionGroup)
MCAPI void renderLevel (::ScreenContext &screenContext, ::FrameRenderObject const &renderObj)
MCAPI void resetLightVolumeManager (::std::weak_ptr<::RuntimeLocalLightingConfig const > runtimeLocalLightingConfig)
MCAPI void resetLightingConfig (::std::weak_ptr<::RuntimeLocalLightingConfig const > runtimeLocalLightingConfig)
MCAPI void resetPointLighting ()
MCAPI void tickLevelRenderer ()
MCAPI void * $ctor (::IClientInstance &clientInstance, ::MultiPlayerLevel &level, ::std::shared_ptr<::Options > options, ::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Bedrock::NotNullNonOwnerPtr<::TextureAtlas const > const &terrainTexture, ::WeakEntityRef localUser, ::GameRenderer &gameRenderer, ::Bedrock::NotNullNonOwnerPtr<::SoundPlayerInterface > const &soundPlayer, ::Bedrock::NotNullNonOwnerPtr<::GeometryGroup > const &geometryGroup, ::SoundMapping const &sounds, ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup const > const &actorResourceDefinitionGroup, ::Bedrock::NotNullNonOwnerPtr<::TextureShiftManager const > &textureShiftManager)
MCAPI void $dtor ()
MCAPI void $onAppSuspended ()
MCAPI void $onAppResumed ()
MCAPI void $onDeviceLost ()
MCAPI void $onLowMemory (::LowMemorySeverity)
MCAPI void $onBlockChanged (::BlockSource &source, ::BlockPos const &blockPosition, uint layer, ::Block const &block, ::Block const &oldBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangedEventTarget eventTarget, ::Actor *blockChangeSource)
MCAPI void $onChunkUnloaded (::LevelChunk &levelChunk)
MCAPI void $takePicture (::cg::ImageBuffer &outImage, ::Actor *camera, ::Actor *target, ::ScreenshotOptions &screenshotOptions, ::std::function< void(::cg::ImageBuffer &, ::ScreenshotOptions &)> completedScreenshotCallback)
virtual void allChanged ()
virtual void sendServerLegacyParticle (::ParticleType, ::Vec3 const &, ::Vec3 const &, int)
virtual void addParticleEffect (::HashedString const &, ::Actor const &, ::HashedString const &, ::Vec3 const &, ::MolangVariableMap const &)
virtual void addTerrainParticleEffect (::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
virtual void addTerrainSlideEffect (::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
virtual void addBreakingItemParticleEffect (::Vec3 const &pos, ::BreakingItemParticleData const &data, ::ResolvedItemIconInfo const &textureInfo)
virtual void addBiomeTintedParticleEffect (::HashedString const &effect, ::BlockPos const &pos, ::Block const &block, ::std::optional<::mce::Color > overrideColor)
virtual void playMusic (::std::string const &, ::Vec3 const &, float, float)
virtual void playStreamingMusic (::std::string const &, int, int, int)
virtual void onEntityAdded (::Actor &)
virtual void onEntityRemoved (::Actor &entity)
virtual void onChunkLoaded (::ChunkSource &source, ::LevelChunk &lc)
virtual void onChunkReloaded (::ChunkSource &, ::LevelChunk &)
virtual void onSubChunkLoaded (::ChunkSource &source, ::LevelChunk &lc, short absoluteSubChunkIndex, bool subChunkVisibilityChanged)
virtual void onLevelDestruction (::std::string const &levelId)
virtual void levelEvent (::SharedTypes::Legacy::LevelEvent type, ::Vec3 const &pos, int data)
virtual void levelEvent (::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const &data)
virtual void playerListChanged ()
virtual void onLevelDataCommandsChanged (bool commandsEnabeld)
virtual void onLevelDataWorldTemplateOptionsUnlocked ()
MCFOLD void $allChanged ()
MCFOLD void $sendServerLegacyParticle (::ParticleType, ::Vec3 const &, ::Vec3 const &, int)
MCFOLD void $addParticleEffect (::HashedString const &, ::Actor const &, ::HashedString const &, ::Vec3 const &, ::MolangVariableMap const &)
MCFOLD void $addTerrainParticleEffect (::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
MCFOLD void $addTerrainSlideEffect (::BlockPos const &pos, ::Block const &block, ::Vec3 const &emitterPosition, float particleCount, float velocityScalar, float emitterRadius)
MCFOLD void $addBreakingItemParticleEffect (::Vec3 const &pos, ::BreakingItemParticleData const &data, ::ResolvedItemIconInfo const &textureInfo)
MCFOLD void $addBiomeTintedParticleEffect (::HashedString const &effect, ::BlockPos const &pos, ::Block const &block, ::std::optional<::mce::Color > overrideColor)
MCFOLD void $playMusic (::std::string const &, ::Vec3 const &, float, float)
MCFOLD void $playStreamingMusic (::std::string const &, int, int, int)
MCFOLD void $onEntityAdded (::Actor &)
MCFOLD void $onEntityRemoved (::Actor &entity)
MCFOLD void $onChunkLoaded (::ChunkSource &source, ::LevelChunk &lc)
MCFOLD void $onChunkReloaded (::ChunkSource &, ::LevelChunk &)
MCFOLD void $onSubChunkLoaded (::ChunkSource &source, ::LevelChunk &lc, short absoluteSubChunkIndex, bool subChunkVisibilityChanged)
MCFOLD void $onLevelDestruction (::std::string const &levelId)
MCFOLD void $levelEvent (::SharedTypes::Legacy::LevelEvent type, ::Vec3 const &pos, int data)
MCFOLD void $levelEvent (::SharedTypes::Legacy::LevelEvent type, ::CompoundTag const &data)
MCFOLD void $playerListChanged ()
MCFOLD void $onLevelDataCommandsChanged (bool commandsEnabeld)
MCFOLD void $onLevelDataWorldTemplateOptionsUnlocked ()
virtual void onSourceCreated (::BlockSource &source)
virtual void onSourceDestroyed (::BlockSource &source)
virtual void onAreaChanged (::BlockSource &source, ::BlockPos const &min, ::BlockPos const &max)
virtual void onBrightnessChanged (::BlockSource &source, ::BlockPos const &pos)
virtual void onBlockEntityChanged (::BlockSource &source, ::BlockActor &te)
virtual void onEntityChanged (::BlockSource &source, ::Actor &entity)
virtual void onBlockEvent (::BlockSource &source, int x, int y, int z, int b0, int b1)
MCFOLD void $onSourceCreated (::BlockSource &source)
MCFOLD void $onSourceDestroyed (::BlockSource &source)
MCFOLD void $onAreaChanged (::BlockSource &source, ::BlockPos const &min, ::BlockPos const &max)
MCAPI void $onBrightnessChanged (::BlockSource &source, ::BlockPos const &pos)
MCFOLD void $onBlockEntityChanged (::BlockSource &source, ::BlockActor &te)
MCFOLD void $onEntityChanged (::BlockSource &source, ::Actor &entity)
MCFOLD void $onBlockEvent (::BlockSource &source, int x, int y, int z, int b0, int b1)
virtual void onAppPaused ()
virtual void onAppUnpaused ()
virtual void onAppPreSuspended ()
virtual void onAppFocusLost ()
virtual void onAppFocusGained ()
virtual void onAppTerminated ()
virtual void onOperationModeChanged (::OperationMode const operationMode)
virtual void onPerformanceModeChanged (bool const boost)
virtual void onPushNotificationReceived (::PushNotificationMessage const &msg)
virtual void onResizeBegin ()
virtual void onResizeEnd ()
virtual void onAppSurfaceCreated ()
virtual void onAppSurfaceDestroyed ()
virtual void onClipboardCopy (::std::string const &clipString)
virtual void onClipboardPaste (::std::string const &clipString)
MCAPI void initListener (float priority)
MCFOLD void $onAppPaused ()
MCFOLD void $onAppUnpaused ()
MCFOLD void $onAppPreSuspended ()
MCFOLD void $onAppFocusLost ()
MCFOLD void $onAppFocusGained ()
MCFOLD void $onAppTerminated ()
MCFOLD void $onOperationModeChanged (::OperationMode const operationMode)
MCFOLD void $onPerformanceModeChanged (bool const boost)
MCFOLD void $onPushNotificationReceived (::PushNotificationMessage const &msg)
MCFOLD void $onResizeBegin ()
MCFOLD void $onResizeEnd ()
MCFOLD void $onAppSurfaceCreated ()
MCFOLD void $onAppSurfaceDestroyed ()
MCFOLD void $onClipboardCopy (::std::string const &clipString)
MCFOLD void $onClipboardPaste (::std::string const &clipString)

Static Public Member Functions

static MCAPI void ** $vftableForLevelListener ()
static MCAPI void ** $vftableForAppPlatformListener ()
static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::DimensionType, ::OwnerPtr<::RenderChunkCoordinator > > > mRenderChunkCoordinators
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PointLighting::PointLightCoordinator > > mPointLightCoordinator
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::PointLighting::PointLightShadowProbeManager > > mPointLightShadowProbeManager
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmPointLightLODOptionSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmPointLightShadowOptionSubscription
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::LightPropagation::LightVolumeManager > > mLightVolumeManager
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::TextureGroup > > mTextureGroup
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::Mesh > > mShadowCylinder
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::Mesh > > mShadowOverlayCube
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::Mesh > > mShadowDisc
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::Mesh > > mSkyMesh
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::Mesh > > mStarsMesh
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::Mesh > > mEndSkyMesh
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::Mesh > > mSunMesh
::ll::TypedStorage< 8, 128, ::std::shared_ptr<::mce::Mesh >[8]> mMoonMesh
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::mce::Mesh > > mNameplateBackgroundMesh
::ll::TypedStorage< 8, 32, ::mce::TexturePtrmAtlasTexture
::ll::TypedStorage< 8, 32, ::mce::TexturePtrmBrightnessTex
::ll::TypedStorage< 8, 32, ::mce::TexturePtrmSunTex
::ll::TypedStorage< 8, 32, ::mce::TexturePtrmSunTexVibrantVisuals
::ll::TypedStorage< 8, 32, ::mce::TexturePtrmMoonTex
::ll::TypedStorage< 8, 32, ::mce::TexturePtrmEndSkyTex
::ll::TypedStorage< 8, 24, ::std::vector<::mce::TexturePtr > > mCrackFrames
::ll::TypedStorage< 1, 1, ::DebugRenderermDebugRenderer
::ll::TypedStorage< 8, 192, ::Scripting::RenderHelper::RenderermScriptDebugRenderer
::ll::TypedStorage< 8, 8, ::TickmTicks
::ll::TypedStorage< 8, 8, ::BlockActorRenderDispatcher & > mBlockEntityRenderDispatcher
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BlockTessellator > > mLocalRenderer
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::ParticleEngine > > mParticleEngine
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::ParticleSystemEngine > > mParticleSystemEngine
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::GeometryEditorGui > > mGeometryEditorGui
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mTaskGroup
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mSyncTaskGroup
::ll::TypedStorage< 8, 8, ::GameRenderer & > mGameRenderer
::ll::TypedStorage< 8, 8, ::MultiPlayerLevel & > mLevel
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Options > > mOptions
::ll::TypedStorage< 8, 8, ::IClientInstance & > mClientInstance
::ll::TypedStorage< 8, 24, ::WeakEntityRefmLocalUser
::ll::TypedStorage< 8, 64, ::std::function< void()> > mReleaseParticleSystemInterfaceProxyCallback
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::LevelRendererPlayer > > mLevelRendererPlayer
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::LevelRendererShadowCamera > > mLevelRendererShadowCamera
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::LevelRendererShadowCamera > > mLevelRendererCloudShadowCamera
::ll::TypedStorage< 4, 4, ::ShadowCascadeStatemShadowCascadeState
::ll::TypedStorage< 1, 1, bool > mTextureShiftsEnabled
::ll::TypedStorage< 8, 1456, ::LevelBuildermLevelBuilder
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::LevelRendererProxy > > mProxy
::ll::TypedStorage< 4, 16, ::mce::ColormClearBufferColor
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::PlayerRenderView > > mPlayerView
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DataDrivenRendererV2RequiredData > > mDataDrivenRendererV2RequiredData
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmLowMemorySubscription
::ll::TypedStorage< 1, 1, bool > mListenerRegistered

Member Function Documentation

◆ onAppSuspended()

virtual void LevelRenderer::onAppSuspended ( )
virtual

Reimplemented from AppPlatformListener.

◆ onAppResumed()

virtual void LevelRenderer::onAppResumed ( )
virtual

Reimplemented from AppPlatformListener.

◆ onDeviceLost()

virtual void LevelRenderer::onDeviceLost ( )
virtual

Reimplemented from AppPlatformListener.

◆ onLowMemory()

virtual void LevelRenderer::onLowMemory ( ::LowMemorySeverity )
virtual

Reimplemented from AppPlatformListener.

◆ onBlockChanged()

virtual void LevelRenderer::onBlockChanged ( ::BlockSource & source,
::BlockPos const & blockPosition,
uint layer,
::Block const & block,
::Block const & oldBlock,
int updateFlags,
::ActorBlockSyncMessage const * syncMsg,
::BlockChangedEventTarget eventTarget,
::Actor * blockChangeSource )
virtual

Reimplemented from BlockSourceListener.

◆ onChunkUnloaded()

virtual void LevelRenderer::onChunkUnloaded ( ::LevelChunk & levelChunk)
virtual

Reimplemented from LevelListener.

◆ takePicture()

virtual void LevelRenderer::takePicture ( ::cg::ImageBuffer & outImage,
::Actor * camera,
::Actor * target,
::ScreenshotOptions & screenshotOptions,
::std::function< void(::cg::ImageBuffer &, ::ScreenshotOptions &)> completedScreenshotCallback )
virtual

Reimplemented from LevelListener.

◆ $vftableForLevelListener()

MCAPI void ** LevelRenderer::$vftableForLevelListener ( )
static
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.

◆ $vftableForAppPlatformListener()

MCAPI void ** LevelRenderer::$vftableForAppPlatformListener ( )
static
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.

◆ $vftable()

MCAPI void ** AppPlatformListener::$vftable ( )
staticinherited
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: