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

Classes

struct  OffsetForLowAspectRatio

Public Types

using RenderMap = ::std::map<::ItemInHandRenderFrameId, ::ItemRenderCall>

Public Member Functions

ItemInHandRendereroperator= (ItemInHandRenderer const &)
 ItemInHandRenderer (ItemInHandRenderer const &)
MCAPI ItemInHandRenderer (::IClientInstance &client, ::BlockTessellator &commonRenderer, ::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI void _applyDefaultItemTransforms (::MatrixStack::MatrixStackRef &worldMatrix, ::ItemStack const &item, bool isInHandItem, ::BlockType const *blockType, ::BlockShape blockShape, ::ItemRenderCall const *renderObjectCall, float heldItemScale, bool posAndRotSetByJSON)
MCAPI::ItemRenderCall * _getRenderCall (::Mob *mob, ::ItemStack const &itemInstance, int fallbackFrame)
MCAPI void _pushSparklerParticles (::BaseActorRenderContext &renderContext, ::ItemStack const &item, ::Level &level)
MCAPI::ItemRenderCall & _rebuildItem (::BaseActorRenderContext &renderContext, ::Mob *mob, ::ItemStack const &item, int fallbackFrame)
MCAPI void _renderBannerBlockItem (::BaseActorRenderContext &renderContext, ::dragon::RenderMetadata const renderMetadata, ::ItemStack const &item, ::Actor &entity, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor, float frameAlpha, float scale) const
MCAPI void _renderChestBlockItem (::BaseActorRenderContext &renderContext, ::dragon::RenderMetadata const renderMetadata, ::BlockType const *blockType, ::Actor &entity, bool const isInHandItem) const
MCAPI void _renderConduitBlockItem (::BaseActorRenderContext &renderContext, ::dragon::RenderMetadata const renderMetadata, ::Actor &entity, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor, float frameAlpha) const
MCAPI void _renderCopperGolemStatueBlockItem (::BaseActorRenderContext &renderContext, ::dragon::RenderMetadata const renderMetadata, ::ItemStack const &item, ::Actor &entity, bool const isFirstPerson, bool const isInHandItem) const
MCAPI void _renderDecoratedPotBlockItem (::BaseActorRenderContext &renderContext, ::dragon::RenderMetadata const renderMetadata, ::ItemStack const &item, ::Actor &entity, bool const isFirstPerson) const
MCAPI void _renderFishingRod (::BaseActorRenderContext &renderContext, ::ItemStack const &item, ::Actor &entity) const
MCAPI void _renderGlowstickBlockItem (::BaseActorRenderContext &renderContext, ::dragon::RenderMetadata const renderMetadata, ::ItemStack const &item, ::Actor &entity, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor, float frameAlpha, ::ItemContextFlags itemFlags, float scale)
MCAPI void _renderMiniMapHand (::BaseActorRenderContext &renderContext, ::Player &player, bool inOffhand)
MCAPI void _renderPhotoMapItem (::BaseActorRenderContext &renderContext, ::Player &player, float const frameAlpha, bool const isMainHand)
MCAPI void _renderShulkerBoxBlockItem (::BaseActorRenderContext &renderContext, ::dragon::RenderMetadata const renderMetadata, ::ItemStack const &item, ::Actor &entity, ::Brightness lightEmission, ::std::optional<::glm::vec3 > const &lightEmissionColor, float frameAlpha) const
MCAPI void _tessellateBlockItem (::Tessellator &tessellator, ::BlockTessellator &t, ::Block const &block, ::mce::framebuilder::FrameLightingModelCapabilities const &lightingModelCaps)
MCAPI void _transformWorldMatrixFromJson (::MatrixStack::MatrixStackRef &worldMatrix, ::ItemStack const &item, bool const isMainHand, ::ItemContextFlags itemFlags, float textureScale)
MCAPI void clearRenderObjects ()
MCAPI::ItemRenderCall const & getRenderCallAtFrame (::BaseActorRenderContext &renderContext, ::ItemStack const &item, int frame)
MCAPI void registerPauseManagerCallback (::Bedrock::PubSub::Connector< void(bool)> &connector)
MCAPI void renderFirstPerson (::BaseActorRenderContext &renderContext, ::Matrix const &prevProj, ::ItemContextFlags itemFlags)
MCAPI void renderItem (::BaseActorRenderContext &renderContext, ::Actor &entity, ::ItemStack const &item, bool posAndRotSetByJSON, ::ItemContextFlags itemFlags, bool useMatrixAsIs, bool renderingMainHand)
MCAPI void renderItemNew (::BaseActorRenderContext &renderContext, ::Actor &entity, ::ItemStack const &item, ::ItemContextFlags itemFlags, ::Brightness lightEmission)
MCAPI void renderObject (::BaseActorRenderContext &renderContext, ::ItemRenderCall const &renderObject, ::dragon::RenderMetadata const &renderMetadata, ::ItemContextFlags itemFlags)
MCAPI void renderOffhandItem (::BaseActorRenderContext &renderContext, ::Player &player, ::ItemContextFlags itemFlags)
MCAPI void tessellateAtFrame (::BaseActorRenderContext &renderContext, ::Mob *mob, ::ItemStack const &item, int frame)
MCAPI void tick ()
MCAPI void * $ctor (::IClientInstance &client, ::BlockTessellator &commonRenderer, ::std::shared_ptr<::mce::TextureGroup > textureGroup)
virtual::mce::Color _getOverlayColor (::Actor &actor, float a) 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 void $dtor ()
MCAPI::mce::Color $_getOverlayColor (::Actor &actor, float a) const

Static Public Member Functions

static MCAPI bool _areNotMatchingChemistrySticks (::ItemStack &itemBefore, ::ItemStack const &itemAfter)
static MCAPI ::dragon::RenderMetadata _createRenderMetadata (::BaseActorRenderContext const &renderContext, ::Actor const &entity, ::ItemStack const &item)
static MCAPI void _tessellateTextureItem (::BaseActorRenderContext &renderContext, ::TextureTessellator &textureTessellator, ::Mob *mob, ::ItemStack const &item, int fallbackFrame, ushort &heightOut, ushort &widthOut)
static MCAPI bool canTessellateAsBlockItem (::ItemStack const &item)
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, ::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, bool ignoreLighting, ::LightTexture &lightTexture, ::Vec2 const &uvScale, ::Vec4 const &uvAnim)
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 void setEntityConstants (::mce::ActorConstants &entityConstants, ::mce::RenderContext &renderContext, ::mce::Color const &tileLightColor, ::Vec2 const &tileLightColorUV, ::glm::vec4 const &blockLightColor, ::mce::Color const &overlay, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::mce::Color const &glintColor, ::Vec2 const &glintUVScale, ::Vec4 const &uvAnim, float uvOffset1, float uvOffset2, float uvRot1, float uvRot2)
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, 152, ::ItemStackmItem
::ll::TypedStorage< 8, 152, ::ItemStackmOffHandItem
::ll::TypedStorage< 4, 4, int > mSlot
::ll::TypedStorage< 8, 8, ::IClientInstance & > mClient
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TextureTessellator > > mTextureTessellator
::ll::TypedStorage< 4, 4, float > mHeight
::ll::TypedStorage< 4, 4, float > mOldHeight
::ll::TypedStorage< 4, 4, float > mHeightOffHand
::ll::TypedStorage< 4, 4, float > mOldHeightOffHand
::ll::TypedStorage< 8, 8, ::BlockTessellator & > mBlockTessellator
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatOpaqueBlock
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatOpaqueBlockColor
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatAlphaBlock
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatItem
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatBlendBlock
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatBlendBlockNoColor
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatAlphaColoredBlock
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatItemMultiColorTint
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatAlphaOneSidedBlock
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatAlphaOneSidedColoredBlock
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatOpaqueBlockGlint
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatAlphaBlockGlint
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatItemGlint
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmMatFishingLine
::ll::TypedStorage< 8, 128, ::std::array<::mce::MaterialPtr const *, 16 > > mMaterialMatrix
::ll::TypedStorage< 8, 32, ::mce::TexturePtrmGlintTexture
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BannerBlockActor > > mBannerEntity
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DecoratedPotBlockActor > > mDecoratedPotEntity
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::SerializedActorBlockActor > > mCopperGolemStatueEntity
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ConduitBlockActor > > mConduitEntity
::ll::TypedStorage< 8, 16, ::std::map<::ItemInHandRenderFrameId, ::ItemRenderCall > > mRenderObjects
::ll::TypedStorage< 4, 64, ::MatrixmTransform
::ll::TypedStorage< 4, 64, ::MatrixmPreFirstPersonItemRenderProj
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmPauseStateChange
::ll::TypedStorage< 8, 8, ::std::chrono::duration< double, ::std::ratio< 1, 1 > > > mTimer
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mLastTime
::ll::TypedStorage< 1, 1, bool > mIsDeferredEnabled
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmEntityMaterial
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmTransparentEntityMaterial
::ll::TypedStorage< 8, 16, ::mce::MaterialPtrmStaticMaterial

Member Function Documentation

◆ $vftable()

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