3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
7#include "mc/deps/core/math/Color.h"
8#include "mc/deps/core/math/Vec2.h"
9#include "mc/deps/core/math/Vec3.h"
10#include "mc/deps/minecraft_renderer/renderer/Mesh.h"
11#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
40 ::ll::TypedStorage<4, 12, ::Vec3> mLocation;
41 ::ll::TypedStorage<4, 16, ::mce::Color> mColor;
48 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::NinePatchLayer>> mBackgroundTexture;
49 ::ll::TypedStorage<1, 1, bool> mHasLoadedIconTextures;
50 ::ll::TypedStorage<8, 192, ::std::array<::mce::TexturePtr, 6>> mTextures;
51 ::ll::TypedStorage<8, 3168, ::std::array<::mce::Mesh, 6>> mMeshes;
52 ::ll::TypedStorage<4, 8, ::Vec2> mBackgroundSize;
53 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastRenderCall;
59 virtual ~HudLocatorBarRenderer() =
default;
61 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
64 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner,
int) ;
66 virtual
bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&) ;
72 MCAPI
void _loadIconTextures(::std::shared_ptr<::mce::TextureGroup> textureGroup);
74 MCAPI
bool _validateIconMeshes(::ScreenContext& screenContext,
float barHeight);
80 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
82 MCAPI
void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner,
int);
84 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