LeviLamina
Loading...
Searching...
No Matches
HoverRenderer Class Referenceabstract
Inheritance diagram for HoverRenderer:

Public Member Functions

virtual bool update (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)=0
MCAPI::glm::vec2 _getNewCursorPosition (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene) const
MCAPI void _renderHoverBox (::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, float alpha)
MCAPI void $dtor ()
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 render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)=0
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 ::std::shared_ptr<::UICustomRendererclone () const =0
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

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mContent
::ll::TypedStorage< 8, 32, ::std::string > mFormattedContent
::ll::TypedStorage< 4, 8, ::glm::vec2 > mCursorPosition
::ll::TypedStorage< 4, 8, ::glm::vec2 > mOffset
::ll::TypedStorage< 4, 8, ::glm::vec2 > mBoxDimensions
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::NinePatchLayer > > mLayer
::ll::TypedStorage< 4, 4, float > mPropagatedAlpha

Member Function Documentation

◆ update()

virtual bool HoverRenderer::update ( ::IClientInstance & client,
::UIControl & owner,
::UIScene const & scene )
pure virtual

Reimplemented from UICustomRenderer.

◆ frameUpdate()

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

Implements UICustomRenderer.

◆ render()

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()

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.

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