3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
7#include "mc/deps/core/math/Vec2.h"
8#include "mc/deps/minecraft_renderer/renderer/Mesh.h"
9#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
39 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NinePatchLayer>> mBackgroundTexture;
40 ::ll::TypedStorage<1, 1, bool> mHasLoadedIconTextures;
41 ::ll::TypedStorage<8, 192, ::std::array<::mce::TexturePtr, 6>> mTextures;
42 ::ll::TypedStorage<8, 3312, ::std::array<::mce::Mesh, 6>> mMeshes;
43 ::ll::TypedStorage<4, 8, ::Vec2> mBackgroundSize;
44 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastRenderCall;
50 virtual ~HudLocatorBarRenderer() ;
52 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
55 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner,
int) ;
57 virtual
bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&) ;
63 MCAPI HudLocatorBarRenderer();
65 MCAPI
bool _areIconTexturesValid() const;
67 MCAPI
void _loadIconTextures(::std::shared_ptr<::mce::TextureGroup> textureGroup);
69 MCAPI
bool _validateIconMeshes(::ScreenContext& screenContext,
float barHeight);
87 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
89 MCAPI
void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner,
int);
91 MCAPI
bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&);
Definition HudLocatorBarRenderer.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition NinePatchLayer.h:5
Definition ScreenContext.h:5
Definition UICustomRenderer.h:5
Definition TextureGroup.h:7
Definition HudLocatorBarRenderer.h:14
Definition HudLocatorBarRenderer.h:16