3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/controls/renderers/AnimatedGif.h"
7#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
8#include "mc/client/gui/screens/UIBatchType.h"
9#include "mc/deps/core/threading/TaskGroup.h"
10#include "mc/deps/minecraft_renderer/resources/ClientTexture.h"
25 ::ll::TypedStorage<8, 32, ::std::string> mFilePath;
26 ::ll::TypedStorage<1, 1, bool> mSourceChanged;
27 ::ll::TypedStorage<1, 1, bool> mUseAnimations;
28 ::ll::TypedStorage<8, 24, ::mce::ClientTexture> mFrameTexture;
29 ::ll::TypedStorage<8, 136, ::std::optional<::AnimatedGif>> mAnimatedGif;
30 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
36 virtual ~AnimatedGifRenderer() =
default;
38 virtual ::std::shared_ptr<::UICustomRenderer> clone() const ;
40 virtual
bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&) ;
43 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner,
int) ;
45 virtual ::UIBatchType getBatchType() const ;
47 virtual
int getCustomId() const ;
53 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
55 MCAPI
bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&);
57 MCAPI
void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner,
int);
59 MCFOLD ::UIBatchType $getBatchType() const;
61 MCFOLD
int $getCustomId() const;
Definition AnimatedGifRenderer.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition UICustomRenderer.h:5