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

Public Member Functions

virtual ::std::shared_ptr<::UICustomRendererclone () const
virtual void render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
virtual void onSourceDestroyed (::BlockSource &source)
virtual void onBlockChanged (::BlockSource &source, ::BlockPos const &pos, uint layer, ::Block const &block, ::Block const &oldBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangedEventTarget eventTarget, ::Actor *blockChangeSource)
virtual void onAppResumed ()
virtual void onAppSuspended ()
MCAPI::BlockPos _getBlockPosition (::UIPropertyBag const &bag) const
MCAPI::RenderChunkInstanced & _getRenderChunkInstanced (::BlockPos const &chunkPos)
MCAPI::AABB _getStructureArea (::UIPropertyBag const &bag) const
MCAPI void _initializeChunkBuilder (::ClientBlockPipeline::TessellatorContext &pipelineContext, ::BlockSource &region, ::Tessellator &tessellator, ::AABB const &area)
MCAPI void _onAreaChanged (::AABB const &newArea)
MCAPI void _render (::MinecraftUIRenderContext &renderContext, ::BlockSource &region, ::IClientInstance &client, ::UIControl &owner, int, ::std::variant< ::std::monostate, ::UIActorOffscreenCaptureDescription, ::UIThumbnailMeshOffscreenCaptureDescription, ::UIMeshOffscreenCaptureDescription, ::UIStructureVolumeOffscreenCaptureDescription > const &captureDescription, ::std::optional<::mce::StructureVolumeOffscreenUtils::StructureVolumeCaptureRequestInfo > requestInfo)
MCAPI void _renderAxisHelpers (::ScreenContext &screenContext, ::UIControl const &owner) const
MCAPI bool _renderBlockEntities (::BaseActorRenderContext &renderContext, ::BlockSource &region, ::AABB const &area, bool renderAlphaLayer) const
MCAPI bool _renderBlocks (::BaseActorRenderContext &renderContext, ::BlockSource &region, ::AABB const &area)
MCAPI bool _renderEntities (::BaseActorRenderContext &renderContext, ::BlockSource &region, ::AABB const &area) const
MCAPI bool _renderPlayers (::BaseActorRenderContext &renderContext, ::BlockSource &region, ::AABB const &area) const
MCAPI bool _renderStructureWireframes (::BaseActorRenderContext &renderContext, ::IClientInstance const &clientInstance, ::BlockPos const &blockPos) const
MCAPI void _renderThumbnailOffscreen (::MinecraftUIRenderContext &renderContext, ::BlockSource &region, ::IClientInstance &client, ::std::variant< ::std::monostate, ::UIActorOffscreenCaptureDescription, ::UIThumbnailMeshOffscreenCaptureDescription, ::UIMeshOffscreenCaptureDescription, ::UIStructureVolumeOffscreenCaptureDescription > const &captureDescription, ::mce::StructureVolumeOffscreenUtils::StructureVolumeCaptureRequestInfo const &requestInfo)
MCAPI void _updatePreviewRotation (::UIControl &owner, float dt)
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCAPI ::std::shared_ptr<::UICustomRenderer$clone () const
MCAPI void $render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
MCAPI void $onSourceDestroyed (::BlockSource &source)
MCAPI void $onBlockChanged (::BlockSource &source, ::BlockPos const &pos, uint layer, ::Block const &block, ::Block const &oldBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangedEventTarget eventTarget, ::Actor *blockChangeSource)
MCAPI void $onAppResumed ()
MCAPI void $onAppSuspended ()
virtual void frameUpdate (::UIFrameUpdateContext &frameUpdateContext, ::UIControl &owner)
virtual void frameUpdate (::MinecraftUIFrameUpdateContext &, ::UIControl &)
virtual void render (::UIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
virtual void preRenderSetup (::UIRenderContext &renderContext)
virtual void preRenderSetup (::MinecraftUIRenderContext &renderContext)
MCAPI void $frameUpdate (::UIFrameUpdateContext &frameUpdateContext, ::UIControl &owner)
MCFOLD void $frameUpdate (::MinecraftUIFrameUpdateContext &, ::UIControl &)
MCAPI void $render (::UIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
MCAPI void $preRenderSetup (::UIRenderContext &renderContext)
MCFOLD void $preRenderSetup (::MinecraftUIRenderContext &renderContext)
virtual bool update (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
virtual::UIBatchType getBatchType () const
virtual int getCustomId () const
virtual int getNumRenderPasses () const
virtual::ResourceLocation getResourceLocation (int textureSlot, int pass) const
virtual::UIMaterialType getUIMaterialType (int pass) const
virtual bool getRequiresPreRenderSetup (int pass) const
virtual void onVisibilityChanged (bool visible)
virtual void collectScreenEvents (::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > &screenEvents)
virtual::UIItemRenderInfo getItemRenderInfo () const
MCFOLD bool $update (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
MCFOLD::UIBatchType $getBatchType () const
MCFOLD int $getCustomId () const
MCFOLD int $getNumRenderPasses () const
MCAPI::ResourceLocation $getResourceLocation (int textureSlot, int pass) const
MCFOLD::UIMaterialType $getUIMaterialType (int pass) const
MCFOLD bool $getRequiresPreRenderSetup (int pass) const
MCFOLD void $onVisibilityChanged (bool visible)
MCFOLD void $collectScreenEvents (::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > &screenEvents)
MCFOLD::UIItemRenderInfo $getItemRenderInfo () const
virtual void onSourceCreated (::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 $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 onDeviceLost ()
virtual void onAppSurfaceCreated ()
virtual void onAppSurfaceDestroyed ()
virtual void onClipboardCopy (::std::string const &clipString)
virtual void onClipboardPaste (::std::string const &clipString)
virtual void onLowMemory (::LowMemorySeverity)
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 $onDeviceLost ()
MCFOLD void $onAppSurfaceCreated ()
MCFOLD void $onAppSurfaceDestroyed ()
MCFOLD void $onClipboardCopy (::std::string const &clipString)
MCFOLD void $onClipboardPaste (::std::string const &clipString)
MCFOLD void $onLowMemory (::LowMemorySeverity)

Static Public Member Functions

static MCFOLD ::std::vector<::BlockPos_generateChunkStartPositions (::AABB const &area)
static MCAPI void _iterateOverBlockEntities (::BlockSource &region, ::AABB const &area, ::std::function< void(::BlockActor &)> const &processBlockActor)
static MCAPI void ** $vftableForBlockSourceListener ()
static MCAPI void ** $vftableForMinecraftUICustomRenderer ()
static MCAPI void ** $vftableForAppPlatformListener ()
static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mInitialize
::ll::TypedStorage< 1, 1, bool > mListenerInitialized
::ll::TypedStorage< 1, 1, bool > mRendered
::ll::TypedStorage< 4, 8, ::Vec2mRotation
::ll::TypedStorage< 4, 24, ::AABBmLastArea
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::IRenderChunkGarbage > > mGarbage
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::RenderChunkBuilder > > mChunkBuilder
::ll::TypedStorage< 8, 64, ::std::unordered_map<::BlockPos, ::std::unique_ptr<::RenderChunkInstanced > > > mRenderChunkInstances
::ll::TypedStorage< 8, 8, ::TickmRenderTick
::ll::TypedStorage< 4, 8, ::Vec2mLastSortRotation
::ll::TypedStorage< 4, 12, ::Vec3mSortingCameraPos
::ll::TypedStorage< 1, 1, bool > mResort
::ll::TypedStorage< 8, 8, ::BlockSource * > mUnsafeSourcePointer
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::RenderChunkSorterSharedInfo > > mSharedSortInfo
::ll::TypedStorage< 8, 448, ::RenderChunkSortermChunkSorter
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmAxesMaterial
::ll::TypedStorage< 4, 4, float > mPropagatedAlpha
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmLowMemorySubscription
::ll::TypedStorage< 1, 1, bool > mListenerRegistered

Member Function Documentation

◆ clone()

virtual ::std::shared_ptr<::UICustomRenderer > StructureVolumeRenderer::clone ( ) const
virtual

Implements UICustomRenderer.

◆ render() [1/2]

virtual void StructureVolumeRenderer::render ( ::MinecraftUIRenderContext & renderContext,
::IClientInstance & client,
::UIControl & owner,
int pass )
virtual

◆ onSourceDestroyed()

virtual void StructureVolumeRenderer::onSourceDestroyed ( ::BlockSource & source)
virtual

Reimplemented from BlockSourceListener.

◆ onBlockChanged()

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

Reimplemented from BlockSourceListener.

◆ onAppResumed()

virtual void StructureVolumeRenderer::onAppResumed ( )
virtual

Reimplemented from AppPlatformListener.

◆ onAppSuspended()

virtual void StructureVolumeRenderer::onAppSuspended ( )
virtual

Reimplemented from AppPlatformListener.

◆ $vftableForBlockSourceListener()

MCAPI void ** StructureVolumeRenderer::$vftableForBlockSourceListener ( )
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.

◆ $vftableForMinecraftUICustomRenderer()

MCAPI void ** StructureVolumeRenderer::$vftableForMinecraftUICustomRenderer ( )
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 ** StructureVolumeRenderer::$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.

◆ frameUpdate()

virtual void MinecraftUICustomRenderer::frameUpdate ( ::UIFrameUpdateContext & frameUpdateContext,
::UIControl & owner )
virtualinherited

Implements UICustomRenderer.

◆ render() [2/2]

virtual void MinecraftUICustomRenderer::render ( ::UIRenderContext & renderContext,
::IClientInstance & client,
::UIControl & owner,
int pass )
virtualinherited

Implements UICustomRenderer.

◆ preRenderSetup()

virtual void MinecraftUICustomRenderer::preRenderSetup ( ::UIRenderContext & renderContext)
virtualinherited

Reimplemented from UICustomRenderer.

◆ $vftable() [1/2]

MCAPI void ** UICustomRenderer::$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.

◆ $vftable() [2/2]

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: