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

Public Types

using NameplateBackgroundInfo = ::std::variant<::std::shared_ptr<::mce::Mesh>, int>

Public Member Functions

virtual void onAppSuspended ()
virtual void render (::BaseActorRenderContext &renderContext, ::BlockActorRenderData &blockEntityRenderData)
MCAPI ConduitRenderer (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void renderInGui (::BaseActorRenderContext &renderContext, ::dragon::RenderMetadata const &renderMetadata, ::BlockActor &entity, float x, float y, float scale, float lightMultiplier)
MCAPI void renderInHand (::BaseActorRenderContext &renderContext, ::BlockActorRenderData &blockEntityRenderData)
MCAPI void * $ctor (::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void $dtor ()
MCAPI void $onAppSuspended ()
MCAPI void $render (::BaseActorRenderContext &renderContext, ::BlockActorRenderData &blockEntityRenderData)
virtual void renderAlpha (::BaseActorRenderContext &renderContext, ::BlockActorRenderData &blockEntityRenderData)
virtual ::std::vector<::NameTagRenderObjectextractText (::Tessellator &tessellator, ::BlockActor &entity, ::std::string const &str, ::std::vector< int > const &widths, ::Vec3 camTargetPos)
MCAPI void _renderModel (::ScreenContext &screenContext, ::dragon::RenderMetadata const &renderMetadata, ::Model &model, ::ClientPBRTextureData const &actorTextureData, ::mce::MaterialPtr const &forcedMaterial) const
MCAPI void _renderModel (::ScreenContext &screenContext, ::dragon::RenderMetadata const &renderMetadata, ::Model &model, ::ActorTextureInfo const &actorTextureInfo, ::mce::MaterialPtr const &forcedMaterial, ::mce::ClientTexture const &forcedTexture) const
MCAPI void _renderModel (::ScreenContext &screenContext, ::dragon::RenderMetadata const &renderMetadata, ::Model &model, ::PBRTexturePtrs const &actorTexturePtrs, ::mce::MaterialPtr const &forcedMaterial, ::mce::ClientTexture const &forcedTexture) const
MCAPI void _renderModel (::ScreenContext &screenContext, ::dragon::RenderMetadata const &renderMetadata, ::Model &model, ::mce::ClientTexture const &texture, ::mce::MaterialPtr const &forcedMaterial, ::mce::ClientTexture const &forcedTexture) const
MCFOLD void $renderAlpha (::BaseActorRenderContext &renderContext, ::BlockActorRenderData &blockEntityRenderData)
MCAPI ::std::vector<::NameTagRenderObject$extractText (::Tessellator &tessellator, ::BlockActor &entity, ::std::string const &str, ::std::vector< int > const &widths, ::Vec3 camTargetPos)
MCAPI ::std::vector<::NameTagRenderObjectextractRenderTextObjects (::Tessellator &tessellator, ::std::string const &str, ::std::vector< int > const &widths, ::Vec3 const &pos, ::mce::Color const &color, float scale, ::std::optional<::Quaternion > const &rotation, ::std::optional<::mce::Color > const &backgroundColor, bool depthTest, bool showBackface, bool showTextBackface) const
MCFOLD::mce::MaterialPtr & getDepthTestedNameTagMat ()
MCFOLD::mce::MaterialPtr & getDepthTestedNameTextMat ()
MCAPI void * $ctor ()
virtual::mce::Color _getOverlayColor (::Actor &actor, float) const
MCAPI::mce::MaterialPtr & getEntityMaterial ()
MCAPI::mce::MaterialPtr & getStaticMaterial ()
MCAPI::mce::MaterialPtr & getTransparentEntityMaterial ()
MCAPI void setupFoilShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &entity, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::Vec2 const &uvScale, float a, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor, bool allowOverlay) const
MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &actor, float a) const
MCAPI::mce::Color $_getOverlayColor (::Actor &actor, float) const
virtual void onAppPaused ()
virtual void onAppUnpaused ()
virtual void onAppPreSuspended ()
virtual void onAppResumed ()
virtual void onAppFocusLost ()
virtual void onAppFocusGained ()
virtual void onAppTerminated ()
virtual void onOperationModeChanged (::OperationMode const operationMode)
virtual void onPerformanceModeChanged (bool const)
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)
MCAPI void terminate ()
MCAPI void * $ctor (bool doInit)
MCFOLD void $onAppPaused ()
MCFOLD void $onAppUnpaused ()
MCFOLD void $onAppPreSuspended ()
MCFOLD void $onAppResumed ()
MCFOLD void $onAppFocusLost ()
MCFOLD void $onAppFocusGained ()
MCFOLD void $onAppTerminated ()
MCFOLD void $onOperationModeChanged (::OperationMode const operationMode)
MCFOLD void $onPerformanceModeChanged (bool const)
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 &)
MCFOLD void $onClipboardPaste (::std::string const &)
MCFOLD void $onLowMemory (::LowMemorySeverity)

Static Public Member Functions

static MCAPI void ** $vftableForAppPlatformListener ()
static MCAPI void ** $vftableForBlockActorRenderer ()
static MCAPI void ** $vftable ()
static MCAPI ::NameTagRenderObject _extractRenderTextObject (::Tessellator &tessellator, ::std::string const &str, ::std::vector< int > const &widths, ::Vec3 const &pos, ::mce::Color const &textColor, ::mce::MaterialPtr const *tagMatOverride, ::mce::MaterialPtr const *textMatOverride, ::mce::Color const &tagColor, float scale, ::std::optional<::Quaternion > const &rotation)
static MCAPI ::std::variant<::std::shared_ptr<::mce::Mesh >, int > _makeTextBackground (::Tessellator &tessellator, ::std::string const &str, ::std::vector< int > const &widths)
static MCAPI ::mce::Color const & NAME_TAG_BACKGROUND_COLOR ()
static MCAPI ::mce::Color const & NAME_TAG_BACKGROUND_COLOR_EDU ()
static MCAPI void setupFoilShaderParameters (::ScreenContext &screenContext, ::TextureUVCoordinateSet const &icon)
static MCAPI void setupFoilShaderParameters (::ScreenContext &screenContext, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::Vec2 const &uvScale)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, float br, ::mce::Color const &overlayColor, bool dimensionHasCeiling)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &actor, ::mce::Color const &overlay, float, ::Vec4 const &uvAnim)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &actor, ::mce::Color const &overlay, float, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &entity, ::mce::Color const &overlay, ::mce::Color const &tintColor, ::mce::Color const &tintColor2, float, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BlockSource &source, ::BrightnessPair const &lightColorUV, ::glm::vec4 const &blockLightColor, float ignoreLighting, bool lightTexture, ::LightTexture &uvScale, ::Vec2 const &uvAnim, ::Vec4 const &)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BlockSource &source, ::BlockPos const &pos, float a, bool ignoreLighting, ::LightTexture &lightTexture, ::std::weak_ptr<::LightPropagation::LightVolumeManager > const &lightVolumeManager, ::Vec2 const &uvScale, ::Vec4 const &uvAnim)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &entity, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::Vec4 const &uvAnim, float br, float, bool isEnchanted)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::mce::Color const &glintColor, float uvOffset1, float uvOffset2, float uvRot1, float uvRot2, ::Vec2 const &glintUVScale, ::Vec4 const &uvAnim, float)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BlockSource &source, ::BlockPos const &pos, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, float, ::LightTexture &lightTexture, ::std::weak_ptr<::LightPropagation::LightVolumeManager > const &lightVolumeManager, ::Vec2 const &uvScale, bool ignoreLighting, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor)
static MCAPI void setupShaderParameters (::ScreenContext &screenContext, ::BaseActorRenderContext &entityContext, ::Actor &entity, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::mce::Color const &glintColor, float uvOffset1, float uvOffset2, float uvRot1, float uvRot2, ::Vec2 const &glintUVScale, ::Vec4 const &uvAnim, float br, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor)
static MCAPI ::mce::Color getOverlayColor (::Actor &actor, float)
static MCAPI void setEntityConstants (::mce::ActorConstants &entityConstants, ::mce::RenderContext &tileLightColor, ::mce::Color const &tileLightColorUV, ::Vec2 const &blockLightColor, ::glm::vec4 const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::mce::Color const &glintColor, ::mce::Color const &glintUVScale, ::Vec2 const &uvAnim, ::Vec4 const &uvOffset1, float uvOffset2, float uvRot1, float uvRot2, float)
static MCAPI ::ResourceLocation const & GLINT_ACTOR_TEXTURE_LOCATION ()
static MCAPI ::ResourceLocation const & GLINT_ITEM_TEXTURE_LOCATION ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmGuiMaterial
::ll::TypedStorage< 8, 32, ::mce::TexturePtr const > mBaseTexture
::ll::TypedStorage< 8, 32, ::mce::TexturePtr const > mShellTexture
::ll::TypedStorage< 8, 32, ::mce::TexturePtr const > mWindTexture
::ll::TypedStorage< 8, 32, ::mce::TexturePtr const > mWindTextureVertical
::ll::TypedStorage< 8, 32, ::mce::TexturePtr const > mCoreTexture
::ll::TypedStorage< 8, 32, ::mce::TexturePtr const > mActiveCoreTexture
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ConduitBaseModel > > mModel
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ConduitCageModel > > mCage
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ConduitWindModel > > mOuterWind
::ll::TypedStorage< 8, 552, ::mce::MeshmHeartMesh
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmNameTagBackgroundMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmNameTagBackgroundWithBackfaceMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmNameTagTextMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmNameTagTextWithBackfaceMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmDepthTestedNameTagMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmDepthTestedNameTagWithBackfaceMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmDepthTestedNameTextMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmDepthTestedNameTextWithBackfaceMat
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmEntityMaterial
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmTransparentEntityMaterial
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmStaticMaterial
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmLowMemorySubscription
::ll::TypedStorage< 1, 1, bool > mListenerRegistered

Member Function Documentation

◆ onAppSuspended()

virtual void ConduitRenderer::onAppSuspended ( )
virtual

Reimplemented from AppPlatformListener.

◆ render()

virtual void ConduitRenderer::render ( ::BaseActorRenderContext & renderContext,
::BlockActorRenderData & blockEntityRenderData )
virtual

Implements BlockActorRenderer.

◆ $vftableForAppPlatformListener()

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

◆ $vftableForBlockActorRenderer()

MCAPI void ** ConduitRenderer::$vftableForBlockActorRenderer ( )
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() [1/2]

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